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:
parent
2eb07f4238
commit
77b2cf9955
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user