Fix: search path for contact config

This commit is contained in:
Aroy-Art 2022-02-02 10:05:44 +01:00
parent d97dd3c235
commit 7da8047135
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -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}}
{{"<!-- /Contact Section -->" | safeHTML}}
<section id="contact" class="section bg-two">
<div class="container pb-5">