mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Save Hugo version in bottom of <head>
I previously removed this from <head> because the first piece of metadata should be setting the charset to utf-8. This commit adds it back, but to the bottom of <head>.
This commit is contained in:
parent
d8f6d1a913
commit
ed13aeb13f
2 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ theme = "etch-custom"
|
||||||
|
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
disableHugoGeneratorInject = true # first item in <head> should be charset=utf-8
|
disableHugoGeneratorInject = true # I inject it explicitly at the BOTTOM of <head>
|
||||||
uglyurls = true
|
uglyurls = true
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
|
|
|
@ -62,4 +62,5 @@
|
||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:url" content="https://seirdy.one{{ .RelPermalink }}">
|
<meta property="og:url" content="https://seirdy.one{{ .RelPermalink }}">
|
||||||
<meta property="og:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.Description }}{{ end }}">
|
<meta property="og:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.Description }}{{ end }}">
|
||||||
|
{{ hugo.Generator }}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue