From b5c6238a1b5b21db4ed03e020781484150d5a579 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 1 Jun 2024 08:52:57 -0700 Subject: [PATCH] layouts: Use Permalink instead of RelPermalink Addresses upstream multihost bug: https://github.com/gohugoio/hugo/issues/12560 Closes #185 --- exampleSite/layouts/partials/custom_header_video.html | 6 +++--- layouts/_default/baseof.html | 2 +- layouts/partials/head.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/exampleSite/layouts/partials/custom_header_video.html b/exampleSite/layouts/partials/custom_header_video.html index 33366d4..49ff1f5 100644 --- a/exampleSite/layouts/partials/custom_header_video.html +++ b/exampleSite/layouts/partials/custom_header_video.html @@ -1,11 +1,11 @@ \ No newline at end of file + + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 18aad25..0df9cf5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,7 +16,7 @@ {{ $scriptPolyfill := resources.Get "js/css-vars-ponyfill.min.js" }} {{ $js := slice $scriptJquery $scriptIcons $scriptIndex $scriptPolyfill | resources.Concat "js/script.js" | resources.Minify | resources.Fingerprint }} - + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 22b0164..003e4a7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ {{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }} {{ with resources.Get .Site.Params.favicon }} - {{ end }} + {{ end }} {{ with .Site.Params.description }} + {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }}