Skip to content

Commit e2e1011

Browse files
[FEATURE] new opengraph 'fediverse:creator' meta (adityatelange#1619)
**Usage** Site level: params: social: fediverse_creator: "@username@mastodon.social" Page (Overrides Site level value): --- title: "My Page" social: fediverse_creator: "@username@mastodon.social" --- Closes adityatelange#1618 adityatelange#1642 --------- Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
1 parent b4a0566 commit e2e1011

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

layouts/partials/templates/opengraph.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@
8080
{{- end }}
8181
{{- end }}
8282
{{- end }}
83+
84+
{{- with (.Param "social.fediverse_creator") }}
85+
<meta name="fediverse:creator" content="{{ . }}">
86+
{{- end }}

0 commit comments

Comments
 (0)