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}}