Previously the default date format (`January 2, 2006` ) was used for
blog and single page date visualizations.
The new parameter `date_format` can be used to override this format.
This allows the visualization of localized dates or a changed precision
(down to the minute or up to the month or year of publication).
The way relURL was used meant that one needed to preface the custom_css
entries with a slash, or the href would be incorrectly set to
subdircss/mycss.css rather than subdir/css/mycss.css, in the case of
a baseURL in a subdir.
Co-authored-by: Nick White <git@njw.name>
Use | relLangURL for the base url in the site-navigation (#277)
* Use | relLangURL for the base urlº
This way, when you click on the header it maintains you in the same language you previously selected.
* Use .Site.Home.RelPermalink as proposed by @regisphilibert
* Add auto-changelog
Fixes #227
* Catch up version number
This file had been previously untouched since 1.0. Using the version from the repo.
Ref #227
* Add script
Fixes #227
Using the `{{ .URL }}` token results in a warning:
WARN 2019/10/13 15:12:12 Page's .URL is deprecated and will be removed in a
future release. Use .Permalink or .RelPermalink. If what you want is the
front matter URL value, use .Params.url.
Steps to reproduce
==================
Follow along with the Quick Start guide at
https://gohugo.io/getting-started/quick-start/
Running `hugo server -D` emits a warning that `.URL` is deprecated.
As per https://gohugo.io/getting-started/quick-start/ I think it is better to use git submodules rather than cloning the repo. It should be easier to keep up to date etc. So please consider this change in documentation