From fd0cf72329800094e89f66376204a1b6403de179 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 10 Mar 2021 08:41:49 +0100 Subject: [PATCH] added opengraph metadata to head when relevant --- layouts/partials/head.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1ff8a8f..4eaa2d2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -28,4 +28,20 @@ {{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | resources.ToCSS (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }} {{- partial "inject/head.html" . -}} + + {{ if .IsPage }} + + + + + + {{ range .Params.tags }} + + {{ end }} + + + + {{ else }} + + {{ end }}