1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-17 17:57:04 +01:00

layouts/_default/baseof.html: Allow configuration of footer text

Uses the "copyright" parameter from the site's config that is pretty
standard among Hugo themes. Content can contain Markdown.
This commit is contained in:
Alan Orth 2016-10-09 13:36:07 +03:00
parent 2eb07f4238
commit 77b2cf9955
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -55,7 +55,11 @@
<footer class="blog-footer"> <footer class="blog-footer">
<p> <p>
{{ if .Site.Copyright }}
{{ .Site.Copyright | markdownify }}
{{ else }}
Blog template built by <a href='https://twitter.com/mralanorth'>@mralanorth</a>. Blog template built by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
{{ end }}
</p> </p>
</footer> </footer>