From 25172b060cc057cc87f75ab762da5f4bd44069ff 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 --- 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 9e8df143..f30961a9 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 bd46e376..0efc5450 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 -}}