From 84db5e6fd67a47e9a12ba0929b6d70873d609d96 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 15 Jan 2025 12:51:35 +0100 Subject: [PATCH] Fix papermod theme in website for new hugo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- web/themes/PaperMod/layouts/partials/templates/opengraph.html | 2 +- .../PaperMod/layouts/partials/templates/twitter_cards.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/themes/PaperMod/layouts/partials/templates/opengraph.html b/web/themes/PaperMod/layouts/partials/templates/opengraph.html index 9e8df14..f30961a 100644 --- a/web/themes/PaperMod/layouts/partials/templates/opengraph.html +++ b/web/themes/PaperMod/layouts/partials/templates/opengraph.html @@ -49,4 +49,4 @@ {{ end }}{{ end }} {{- /* Facebook Page Admin ID for Domain Insights */}} -{{- with site.Social.facebook_admin }}{{ end }} +{{- with site.Params.Social.facebook_admin }}{{ end }} diff --git a/web/themes/PaperMod/layouts/partials/templates/twitter_cards.html b/web/themes/PaperMod/layouts/partials/templates/twitter_cards.html index bd46e37..0efc545 100644 --- a/web/themes/PaperMod/layouts/partials/templates/twitter_cards.html +++ b/web/themes/PaperMod/layouts/partials/templates/twitter_cards.html @@ -28,6 +28,6 @@ {{- end }} -{{ with site.Social.twitter -}} +{{ with site.Params.Social.twitter -}} {{ end -}}