feat(opengraph): new fediverse:creator meta...

... based on the fediverseCreator param of the post defaulting on the site.
This commit is contained in:
David Guillot 2024-10-17 17:37:41 +02:00
parent 3e53621007
commit c9d8dafc23
No known key found for this signature in database
GPG Key ID: 75E89F4AE120BD4E

View File

@ -61,6 +61,10 @@
{{- end }}
{{- end }}
{{- if or .Params.fediverseCreator site.Params.fediverseCreator }}
<meta name="fediverse:creator" content="{{ .Params.fediverseCreator | default site.Params.fediverseCreator }}" />
{{- end -}}
{{- range .GetTerms "series" }}
{{- range .Pages | first 7 }}
{{- if ne $ . }}