diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1f55f04..cbbace7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,5 @@ {{ $footerEnabled := site.Params.footer.enable | default true }} +{{ $contactMeEnabled := site.Params.footer.contactMe.enable | default true }} {{ if $footerEnabled }} {{ $author:= site.Data.author }} @@ -58,7 +59,7 @@ {{ end }} - {{ if $author }} + {{ if (and $contactMeEnabled $author) }}