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.
25 lines
1.0 KiB
HTML
25 lines
1.0 KiB
HTML
{{ $page := . }}
|
|
|
|
{{ $copyright := site.Copyright }}
|
|
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
|
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
|
{{ $showlink := not site.Params.paige.hide_theme_link }}
|
|
|
|
{{ if or $copyright $first $last $showlink }}
|
|
<footer>
|
|
{{ if $first }}
|
|
{{ partial "paige/footer-first.html" . }}
|
|
{{ end }}
|
|
{{ if and $copyright $showlink }}
|
|
<p class="text-center text-secondary">{{ $copyright | markdownify }} · <a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
|
|
{{ else if $copyright }}
|
|
<p class="text-center text-secondary">{{ $copyright | markdownify }}</p>
|
|
{{ else if $showlink }}
|
|
<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 }}
|