mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
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.
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
b535058204
commit
87879a726a
@@ -70,7 +70,7 @@
|
||||
{{ 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 }}">
|
||||
|
||||
Reference in New Issue
Block a user