Show a twitter card without any condition.

This commit is contained in:
panr 2020-08-10 00:13:56 +02:00
parent 80fa802fa6
commit e6be81c664

View File

@ -33,8 +33,8 @@
{{ end }} {{ end }}
<!-- Twitter Card --> <!-- Twitter Card -->
{{ if (isset $.Site.Params "twitter") }}
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
{{ if (isset $.Site.Params "twitter") }}
{{ if (isset $.Site.Params.Twitter "site") }} {{ if (isset $.Site.Params.Twitter "site") }}
<meta name="twitter:site" content="{{ $.Site.Params.Twitter.site }}" /> <meta name="twitter:site" content="{{ $.Site.Params.Twitter.site }}" />
{{ end }} {{ end }}