From 76b72515b6d8078268077bd9d96db493fb7bd6f8 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Thu, 2 Nov 2023 00:30:06 +0100 Subject: structured metadata image like leading image --- layouts/partials/head.html | 48 +++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 38e31b7..35384ba 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,20 +1,38 @@ - - - {{ partial "structured-data.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 }} - - + {{ with resources.Get "scss/style.scss" | resources.ToCSS (dict "includePaths" (slice "node_modules") "targetPath" "css/style.css") | resources.Minify | fingerprint }} + + {{ end }} + + - {{ with resources.Get .Site.Params.favicon }} - - {{ end }} -{{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{ end -}} + {{ with resources.Get .Site.Params.favicon }} + + {{ end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} - + + -- cgit v1.2.3