Replace deprecated .Hugo with hugo. (#171)
* Add trailing slash to remove redirects.
When you request /tags/foo, the web server will redirect you to
/tags/foo/ so the browser needs to make two requests. Add the trailing
slash in the link so that only one request is needed.
* Add trailing slash to remove redirects.
* Improve how trailing slash is added.
Co-Authored-By: tobinjt <johntobin@johntobin.ie>
* Improve how trailing slash is added.
Co-Authored-By: tobinjt <johntobin@johntobin.ie>
* Add John Tobin.
* Replace deprecated .Hugo with hugo.
Hugo 0.55 deprecates .Hugo and produces this warning:
"Page's .Hugo is deprecated and will be removed in a future release.
Use the global hugo function."
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Update minimum required version.
| | |
| | | {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} |
| | | {{ end -}} |
| | | |
| | | {{ .Hugo.Generator }} |
| | | {{ hugo.Generator }} |
| | | </head> |
| | | |
| | | <body class="{{ if .Site.Params.rtl }}rtl{{ end }} {{ if .Site.Params.inverted }}inverted{{ end }}"> |
| | |
| | | command = "make prepare && hugo --source demo --baseURL $URL" |
| | | |
| | | [context.production.environment] |
| | | HUGO_VERSION = "0.49.2" |
| | | HUGO_VERSION = "0.54.0" |
| | | |
| | | [context.deploy-preview] |
| | | command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL" |
| | | |
| | | [context.deploy-preview.environment] |
| | | HUGO_VERSION = "0.49.2" |
| | | HUGO_VERSION = "0.54.0" |
| | |
| | | "single-column", |
| | | "syntax-highlighting" |
| | | ] |
| | | min_version = "0.43" |
| | | min_version = "0.54" |
| | | |
| | | [author] |
| | | name = "Luiz F. A. de PrĂ¡" |