Update Footer Logic

This commit is contained in:
Evan G. 2024-05-20 13:21:06 -05:00
parent 8857c2682c
commit a752274ba0
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,10 @@
<a href="/policies/privacy/">Privacy Policy</a> | <a href="/policies/cookies/">Cookie Policy</a> | <a href="/policies/terms/">Terms of Use</a>
</p>
{{ end }}
<!-- We like putting links in a paragraph separated by pipe ("|") characters -->
<p>{{ now.Format "2006" }} © {{ $.Site.Params.author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }} </p> <!-- While not legally required, it's nice to put copyright and/or license info here. Also, it looks nice to break up the links with a line of text -->
{{ with .Site.Copyright }}
<p>{{ now.Format "2006" }} © {{ . | markdownify }}</p>
{{ else }}
<p>{{ now.Format "2006" }} © {{ .Site.Params.author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }} </p> <!-- While not legally required, it's nice to put copyright and/or license info here. Also, it looks nice to break up the links with a line of text -->
{{ end }}
<a href={{ $.Site.Params.Mastodon }} rel="me" target="blank">Mastodon</a> | <a href="/contact/">Contact Me</a> | <a href="/posts/index.xml">RSS Feed</a></p> <!-- This is the kind of thing people look for in footers: contact info and legal info. Make sure you include both! -->

View File

@ -12,4 +12,4 @@ min_version = "0.41.0"
[author]
name = "RogueFoam"
homepage = ""
homepage = ""