docs-matrix-spec/layouts/partials/footer/center.html
Kévin Commaille d5c56a4f17
Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-11-19 21:40:34 +00:00

30 lines
No EOL
943 B
HTML

{{- /*
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 -}}