From 43ddf545bf298411ff0287d265e6a762bd3e7532 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Mon, 25 May 2020 21:44:35 +0200 Subject: [PATCH] Use built-in seo templates --- layouts/partials/seo.html | 93 ++------------------------------------- 1 file changed, 4 insertions(+), 89 deletions(-) diff --git a/layouts/partials/seo.html b/layouts/partials/seo.html index 347b41c..96d56d5 100644 --- a/layouts/partials/seo.html +++ b/layouts/partials/seo.html @@ -1,92 +1,7 @@ +{{ template "_internal/google_news.html" . }} - +{{ template "_internal/schema.html" . }} - {{ with .Site.Params.gravatar }} - - {{- else -}} - {{ with .Site.Params.profilePicture }} - - {{- end -}} - {{ end }} +{{ template "_internal/twitter_cards.html" . }} - {{ if eq .Type "post" }} - - - - - - - - - - {{ with .Params.Categories -}} - {{- range $name := . -}} - - {{ end -}} - {{- end -}} - - {{ with .Params.Tags -}} - {{- range $name := . -}} - - {{ end -}} - {{- end -}} - - {{ else }} - - - - {{- if .IsHome }} - - - - {{- else -}} - - - - {{- end -}} - - {{ end }} - - - - {{ if eq .Type "post" }} - - {{ end }} +{{ template "_internal/opengraph.html" . }}