Add SEO tags override to disable Twitter tags
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3478074c3b
commit
d67fa65d91
13
layouts/partials/seo_tags.html
Normal file
13
layouts/partials/seo_tags.html
Normal 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" . }}
|
Reference in New Issue
Block a user