From 7da8047135d9b55eaadc40d71372217b267167e1 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Wed, 2 Feb 2022 10:05:44 +0100 Subject: [PATCH] Fix: search path for contact config --- layouts/partials/contact.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 93e95d3..cf89e77 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -1,7 +1,7 @@ -{{ $data := index site.Data }} +{{ $data := index site.Data.contact }} -{{ if $data.contact.contact.enable }} -{{ with $data.contact.contact}} +{{ if $data.contact.enable }} +{{ with $data.contact}} {{"" | safeHTML}}