Add the option to add even more stuff to footer

This commit is contained in:
BBaoVanC 2022-04-09 19:26:52 -05:00
parent 33d0f81444
commit 2cc4f45d4f
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -20,11 +20,17 @@
{{ end }}
</div>
{{ with .Site.Copyright }}
{{ if or .Site.Copyright .Site.Params.footer }}
<hr>
<footer>
<small>
{{ . | safeHTML }}
{{ with .Site.Copyright }}
<p>{{ . | safeHTML }}</p>
{{ end }}
{{ with .Site.Params.footer }}
<p>{{ . | markdownify }}</p>
{{ end }}
</small>
</footer>
{{ end }}