Add SEO tags override to disable Twitter tags
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
BBaoVanC 2021-04-24 22:33:45 -05:00
parent 3478074c3b
commit d67fa65d91
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -0,0 +1,13 @@
<!-- Primary Meta Tags -->
<meta name="title" content="{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}" />
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
<!-- Open Graph / Facebook -->
{{ template "_internal/opengraph.html" . }}
<!-- Twitter -->
<!--{{ template "_internal/twitter_cards.html" . }}-->
<!-- Microdata -->
{{ template "_internal/schema.html" . }}