{{ $showFooter := default true .Site.Params.showFooter }}
{{ if $showFooter }}
    {{/* Footer start hook */}}
    {{ partial "functions/get_hook.html" (dict "hook" "footer_start" "context" .) }}

    {{ if not .Site.Params.footerContent }}
    <p>Powered by
        <a href="https://gohugo.io/">Hugo</a>
        and
        <a href="https://github.com/tomfran/typo">tomfran/typo</a>
    </p>
    {{ end }}
    
    {{ with .Site.Params.footerContent }}
    <p>{{ . | markdownify }}</p>
    {{ end }}
{{ end }}
