{{- /*

    Modified version of the footer/center.html partial of Docsy, adding "bottom"
    links on top of the copyright.

*/ -}}

{{ with .Site.Params.links -}}
  {{ with index . "bottom" -}}
    {{- partial "footer/links.html"  . -}}
  {{ end -}}
{{ end -}}

<div class="mt-2 mb-3">
{{ partial "footer/copyright.html"  . -}}
</div>

{{ with .Site.Params.privacy_policy -}}
  <span class="ms-2"><a href="{{ . }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" }}</a></span>
{{- end -}}

{{ if ne .Site.Params.ui.footer_about_disable nil -}}
  {{ warnf "Config parameter '.params.ui.footer_about_disable' is DEPRECATED, use '.params.ui.footer_about_enable' instead." -}}
{{ end -}}

{{ if or .Site.Params.ui.footer_about_enable (eq .Site.Params.ui.footer_about_disable false) -}}
  {{ with .Site.GetPage "about" -}}
    <p class="td-footer__about mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
  {{- end -}}
{{ end -}}