You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
870 B
HTML
24 lines
870 B
HTML
{{ $page := . }}
|
|
|
|
{{ $copyright := site.Copyright }}
|
|
{{ $credit := $page.Param "paige.hide_credit_link" | not }}
|
|
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
|
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
|
|
|
{{ if or $copyright $credit $first $last }}
|
|
<footer>
|
|
{{ if $first }}
|
|
{{ partial "paige/footer-first.html" . }}
|
|
{{ end }}
|
|
{{ if $copyright }}
|
|
<p class="{{ if $credit }} mb-0 {{ end }} text-center text-secondary">{{ $copyright | markdownify }}</p>
|
|
{{ end }}
|
|
{{ if $credit }}
|
|
<p class="text-center"><a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
|
|
{{ end }}
|
|
{{ if $last }}
|
|
{{ partial "paige/footer-last.html" . }}
|
|
{{ end }}
|
|
</footer>
|
|
{{ end }}
|