Skip to content

Commit

Permalink
feat(opengraph): new fediverse:creator meta...
Browse files Browse the repository at this point in the history
... based on the fediverseCreator param of the post defaulting on the site.
  • Loading branch information
David-Guillot committed Nov 12, 2024
1 parent 3e53621 commit c9d8daf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layouts/partials/templates/opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 $ . }}
Expand Down

0 comments on commit c9d8daf

Please sign in to comment.