1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Fix: add optional head tags

Although these tags are optional, some problematic parsers don't know
that.
This commit is contained in:
Rohan Kumar 2022-02-03 16:19:26 -08:00
parent 646b123f57
commit 89d8e99830
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,3 +1,4 @@
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.Description }}{{ end }}"> <meta name="description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.Description }}{{ end }}">
@ -62,3 +63,4 @@
<meta property="article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}"> <meta property="article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">
{{ end -}} {{ end -}}
{{ hugo.Generator }} {{ hugo.Generator }}
</head>