You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<metaname="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
19
-
{{- /* Deprecate site.Social.twitter in favor of site.Params.social.twitter */}}
19
+
20
20
{{- $twitterSite := "" }}
21
21
{{- with site.Params.social }}
22
22
{{- if reflect.IsMap . }}
23
-
{{- $twitterSite = .twitter }}
24
-
{{- end }}
25
-
{{- else }}
26
-
{{- with site.Social.twitter }}
27
-
{{- $twitterSite = . }}
28
-
{{- warnf "The social key in site configuration is deprecated. Use params.social.twitter instead." }}
0 commit comments