From 609e4013287f467e34b92f2e32cf054c583e5b21 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 18 Oct 2024 11:54:44 +0000 Subject: [PATCH] Use new function for newer Hugo versions --- themes/nluug/layouts/partials/opengraph/opengraph.html | 2 +- themes/nluug/layouts/partials/opengraph/twitter_cards.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nluug/layouts/partials/opengraph/opengraph.html b/themes/nluug/layouts/partials/opengraph/opengraph.html index 874a193..f903081 100644 --- a/themes/nluug/layouts/partials/opengraph/opengraph.html +++ b/themes/nluug/layouts/partials/opengraph/opengraph.html @@ -39,4 +39,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/themes/nluug/layouts/partials/opengraph/twitter_cards.html b/themes/nluug/layouts/partials/opengraph/twitter_cards.html index 9cd345c..ecd080a 100644 --- a/themes/nluug/layouts/partials/opengraph/twitter_cards.html +++ b/themes/nluug/layouts/partials/opengraph/twitter_cards.html @@ -17,6 +17,6 @@ {{- end }} -{{ with .Site.Social.twitter -}} +{{ with .Site.Params.Social.twitter -}} {{ end -}}