mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 03:32:12 +00:00
3752348ef1
The current behaviour addes a `url` attribute to the frontmatter of all posts imported from Jeklly and assumes the desired permalink structure is /:year/:month/:day/:title/. This may be the case for most peeps, but poses a problem for those that don't use this permalink structure as the `url` attribute takes precedence over the `permalink` attribute in the site-wide configuration meaning it can't be overruled. This changes the behaviour to only set the `url` attribute if the `permalink` attribute is set in the Jekyll frontmatter. The duplication of the confirmation message is also removed. Tests have been updated to reflect this change in behaviour. Fixes #1887 |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
commandeer.go | ||
convert.go | ||
env.go | ||
gen.go | ||
genautocomplete.go | ||
genchromastyles.go | ||
gendoc.go | ||
gendocshelper.go | ||
genman.go | ||
hugo.go | ||
hugo_windows.go | ||
import_jekyll.go | ||
import_jekyll_test.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
list_config.go | ||
new.go | ||
new_test.go | ||
release.go | ||
server.go | ||
server_test.go | ||
static_syncer.go | ||
undraft.go | ||
undraft_test.go | ||
version.go |