mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +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:
parent
2eb07f4238
commit
77b2cf9955
@ -55,7 +55,11 @@
|
||||
|
||||
<footer class="blog-footer">
|
||||
<p>
|
||||
{{ if .Site.Copyright }}
|
||||
{{ .Site.Copyright | markdownify }}
|
||||
{{ else }}
|
||||
Blog template built by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
|
||||
{{ end }}
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user