Skip to content

Commit ca955bc

Browse files
committed
hugo
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 6ef6bee commit ca955bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/themes/hugo-geekdoc/layouts/partials/language.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ if .Site.IsMultiLingual }}
1+
{{ if .IsTranslated }}
22
<span class="gdoc-language">
33
<ul class="gdoc-language__selector" role="button" aria-pressed="false" tabindex="0">
44
<li>

docs/themes/hugo-geekdoc/layouts/partials/microformats/opengraph.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
{{- end }}
6464

6565
{{- /* Facebook Page Admin ID for Domain Insights */}}
66-
{{- with .Site.Social.facebook_admin }}
66+
{{- with .Site.Params.Social.facebook_admin }}
6767
<meta property="fb:admins" content="{{ . }}" />
6868
{{- end }}

docs/themes/hugo-geekdoc/layouts/partials/microformats/twitter_cards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
{{- with partial "utils/description" . }}
1111
<meta name="twitter:description" content="{{ . | plainify | htmlUnescape | chomp }}" />
1212
{{- end }}
13-
{{- with .Site.Social.twitter -}}
13+
{{- with .Site.Params.Social.twitter -}}
1414
<meta name="twitter:site" content="@{{ . }}" />
1515
{{- end }}

0 commit comments

Comments
 (0)