Replace use of deprecated .Site.Social

This commit is contained in:
BBaoVanC 2024-08-29 20:39:23 -05:00
parent 77afe66aa6
commit ebf39263a6
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -24,6 +24,6 @@
<meta name="twitter:title" content="{{ .Title | plainify }}"> <meta name="twitter:title" content="{{ .Title | plainify }}">
<meta name="twitter:description" content="{{ (partial "seo-description.html" .) | plainify }}"> <meta name="twitter:description" content="{{ (partial "seo-description.html" .) | plainify }}">
{{ with .Site.Social.twitter }} {{ with .Site.Params.social.twitter }}
<meta name="twitter:site" content="@{{ . }}"> <meta name="twitter:site" content="@{{ . }}">
{{ end }} {{ end }}