fix: replace deprecated .Site.IsMultiLingual and .Site.Social (#862)

This commit is contained in:
Karthik Chandy 2024-08-27 16:47:48 +10:00 committed by GitHub
parent faf3af6297
commit 5ed55ed35d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,6 @@
{{- with partial "utils/description" . }}
<meta name="twitter:description" content="{{ . | plainify | htmlUnescape | chomp }}" />
{{- end }}
{{- with .Site.Social.twitter -}}
{{- with .Site.Params.twitter -}}
<meta name="twitter:site" content="@{{ . }}" />
{{- end }}