add support for new 'fediverse:creator' property

This commit is contained in:
John Bowdre 2024-07-03 10:57:28 -05:00
parent 17fd7cf661
commit f67f8390b6
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ reply = true
name = "John Bowdre" name = "John Bowdre"
email = "jbowdre@omg.lol" email = "jbowdre@omg.lol"
username = "jbowdre" username = "jbowdre"
fedi = "@jbowdre@social.lol"
[theme] [theme]
palette = "runtimeterror" palette = "runtimeterror"

View file

@ -1,5 +1,6 @@
<title>{{ with .Title }}{{ . }} &ndash; {{end}}{{ .Site.Title }}</title> <title>{{ with .Title }}{{ . }} &ndash; {{end}}{{ .Site.Title }}</title>
{{ with .Site.Params.about }}<meta name="description" content="{{ .description }}">{{ end }} {{ with .Site.Params.about }}<meta name="description" content="{{ .description }}">{{ end }}
{{ with .Site.Params.Author.fedi }}<meta property="fediverse:creator" content="{{ . }}" />{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"/> <meta charset="UTF-8"/>