Skip to content

Commit e2e1011

Browse files
[FEATURE] new opengraph 'fediverse:creator' meta (#1619)
**Usage** Site level: params: social: fediverse_creator: "@[email protected]" Page (Overrides Site level value): --- title: "My Page" social: fediverse_creator: "@[email protected]" --- Closes #1618 #1642 --------- Co-authored-by: Aditya Telange <[email protected]>
1 parent b4a0566 commit e2e1011

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

layouts/partials/templates/opengraph.html

+4
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)