1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00: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:
Rohan Kumar 2020-12-23 21:48:27 -08:00
parent d8f6d1a913
commit ed13aeb13f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ theme = "etch-custom"
enableInlineShortcodes = 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
pygmentsCodeFences = true
pygmentsUseClasses = true

View file

@ -62,4 +62,5 @@
<meta property="og:image:width" content="1200">
<meta property="og:url" content="https://seirdy.one{{ .RelPermalink }}">
<meta property="og:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.Description }}{{ end }}">
{{ hugo.Generator }}
</head>