diff --git a/layouts/partials/head-meta.html b/layouts/partials/head-meta.html index 19099f2..bf6905a 100644 --- a/layouts/partials/head-meta.html +++ b/layouts/partials/head-meta.html @@ -1,42 +1,11 @@ -{{ $title := .Title | default .Site.Title }} -{{ $description := .Params.description | default .Site.Params.description }} -{{ $author := .Params.author | default .Site.Params.author }} - {{ "" | safeHTML }} - - - - {{ "" | safeHTML }} - - - - {{ if eq .Section "post" }} - - - - {{ if .Params.image }} - - {{ end }} - {{ else }} - - {{ end }} - - - - {{ "" | safeHTML }} - {{ if and (eq .Section "post") (.Params.image) }} - - - {{ else }} - - {{ end }} - {{ if .Site.Params.social.twitter_username}}{{ end }} - - + {{ template "_internal/opengraph.html" . }} + {{ template "_internal/schema.html" . }} + {{ template "_internal/twitter_cards.html" . }} {{ if .Site.Params.google_verify_meta }}