Indent template logic

This commit is contained in:
Will Faught
2023-01-07 09:04:54 -08:00
parent 9848a64ff3
commit 994591f932
17 changed files with 340 additions and 340 deletions

View File

@@ -1,11 +1,11 @@
{{ if or .Site.Copyright (not .Site.Params.paige.hide_theme_link) }}
<footer>
{{ if and .Site.Copyright (not .Site.Params.paige.hide_theme_link) }}
<p class="text-center text-secondary">{{ .Site.Copyright | markdownify }} · <a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
{{ else if .Site.Copyright }}
<p class="text-center text-secondary">{{ .Site.Copyright | markdownify }}</p>
{{ else if not .Site.Params.paige.hide_theme_link }}
<p class="text-center"><a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
{{ end }}
</footer>
<footer>
{{ if and .Site.Copyright (not .Site.Params.paige.hide_theme_link) }}
<p class="text-center text-secondary">{{ .Site.Copyright | markdownify }} · <a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
{{ else if .Site.Copyright }}
<p class="text-center text-secondary">{{ .Site.Copyright | markdownify }}</p>
{{ else if not .Site.Params.paige.hide_theme_link }}
<p class="text-center"><a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
{{ end }}
</footer>
{{ end }}