Age | Commit message (Collapse) | Author |
|
Print error if index value in a page is wrong type
|
|
Static changes shouldn't be destructive to existing files
|
|
Remove extra quotes from meta data
|
|
Check .Prev and .Next pointers before using it
|
|
Fix broken link to Index page
|
|
This was causing a panic with no information displayed about the
page causing the error.
|
|
Currently changing css deletes all the site published html when it copies.
Refs #46
|
|
|
|
|
|
|
|
Sync files that have changed in the static directory
|
|
New behavior adds a special case for file changes inside the static directory to fsync PublishDir
|
|
avoid possible redirects with non-ugly slug urls
|
|
Enable aliases from .xhtml paths
|
|
Skip Static directory if its in your content directory
|
|
|
|
|
|
An oversight on my behalf. The FromSlash method is used when writing
out the public file name. There is one place where the slashes are
required which is setting the output file. I replaced those instances
with filepath.Join which should do the right thing depending on the OS.
|
|
|
|
|
|
|
|
|
|
|
|
Clarify uglyurls flag.
|
|
because the url lacks a trailing /, many webservers will issue a
redirect to the canonical url with trailing slash for directory index
w/index.htm(l).
Append a slash to avoid this.
|
|
When redirecting an alias from a .xhtml path, served with default content type,
a redirect only works if the html element has a xmlns attribute. This adds the
attribute when the alias path ends in .xhtml
|
|
Allows organisation where all source files are in one directory:
```
`config.yaml`:
contentdir: "source"
staticdir: "source/static"
...
.
└── source
├── post
| ├── firstpost.md // <- http://site.com/post/firstpost.html
| └── secondpost.md // <- http://site.com/post/secondpost.html
└── static
└── css
└── site.css // <- http://site.com/css/site.css
```
|
|
Mention more clearly that, for generating `/filename.html`, you need to
set the `uglyurls` flag to `true`.
|
|
|
|
|
|
Workflow dotfile
|
|
|
|
|
|
Test GetParam and the various incarnations of frontmatter.
|
|
sanitizeRegex chopping dots
|
|
default template found at layouts/_default/single.html
|
|
|
|
This supports my personal workflow of using vim which places a temporary file in the same directory as the file I'm editing.
|
|
Clean up test files.
|
|
|
|
|
|
indexes rss.xml has wrong permalinks with ugly urls off
|
|
sanitizeRegex was stripping dots in permalinks when generating
RenderIndexes (noted during feed/rss generation).
permalink was being set to `.../indexxml` instead of `.../index.xml`.
Adding "dot" to the regex whitelist fixed the issue.
|
|
|
|
when not using ugly urls, the feed permalink does not end up in the
expected location, and instead always behaves as if using ugly urls.
this fixes that behavior and inserts the feed xml file into the
directory as index.xml.
fixes #32
|
|
Use / for template names regardless of platform.
|
|
The path seperator was causing templates to not be loaded on windows.
Now all template names use / internally.
|
|
Address the time parsing issue.
|
|
Forgot to include existing formats. Integration tests include new
format.
|
|
Interacting with timezones will result in checks against the filesystem.
This access, by definition, is an integration test. Creating a
*integration_test.go file will signify this change.
When interacting with Travis-ci.org, the ubuntu boxes plus go 1.1 do not
seem to support shortcode timezones, think PST. In this case, the tests
are skipped. This is not ideal, but the IRC #go-nuts channel has
indicated timezone support is still lacking. We should advise users of
hugo that timezone support may be an issue and report any odd behavior.
The workaround is to use numeric timezones (-08:00 for PST, etc.)
|