Add theme link and comment
This commit is contained in:
@@ -21,3 +21,6 @@
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
{{ if not .Site.Params.paigehidethemecomment }}
|
||||
{{ printf "<!-- Paige theme from https://github.com/willfaught/paige -->" | safeHTML }}
|
||||
{{ end }}
|
||||
|
@@ -1,5 +1,11 @@
|
||||
{{ if .Site.Copyright }}
|
||||
{{ if or .Site.Copyright (not .Site.Params.paigehidethemelink) }}
|
||||
<footer>
|
||||
{{ if and .Site.Copyright (not .Site.Params.paigehidethemelink) }}
|
||||
<p class="text-center text-muted">{{ .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-muted">{{ .Site.Copyright | markdownify }}</p>
|
||||
{{ else if (not .Site.Params.paigehidethemelink) }}
|
||||
<p class="text-center"><a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a></p>
|
||||
{{ end }}
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user