Skip to content

Commit 35763e5

Browse files
committed
Hugo change
1 parent f34b3a3 commit 35763e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

themes/PaperMod/layouts/partials/templates/opengraph.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
{{ end }}{{ end }}
5050

5151
{{- /* Facebook Page Admin ID for Domain Insights */}}
52-
{{- with site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
52+
{{- with site.Params.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}

themes/PaperMod/layouts/partials/templates/twitter_cards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
{{- end }}
2929
<meta name="twitter:title" content="{{ .Title }}"/>
3030
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
31-
{{ with site.Social.twitter -}}
31+
{{ with site.Params.Social.twitter -}}
3232
<meta name="twitter:site" content="@{{ . }}"/>
3333
{{ end -}}

0 commit comments

Comments
 (0)