From 750727091bdc7723c5e780bb9872c9b538314c3a Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Thu, 7 Sep 2023 03:58:40 +0200 Subject: Structured data instead of internal templates of social media --- layouts/partials/head.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bd6d93f..3a569e7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,19 +1,16 @@ - -{{ template "_internal/twitter_cards.html" . }} -{{ template "_internal/opengraph.html" . }} + {{ partial "structured-data.html" . }} {{ with resources.Get "scss/style.scss" | resources.ToCSS (dict "includePaths" (slice "node_modules") "targetPath" "css/style.css") | resources.Minify | fingerprint }} {{ end }} - {{ $title := print .Site.Title " | " .Title }} - {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} - - {{ $title }} + {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + + -- cgit v1.2.3