feat: markdownify copyright-line
This commit is contained in:
parent
b7d9750192
commit
7defcb60fd
|
@ -13,6 +13,7 @@ title = "Jane Doe - Nutrition Coach & Chef Consultant"
|
|||
|
||||
[params]
|
||||
# A "copyright"-line to be added at the bottom of the page.
|
||||
# Hint: Markdown is supported in here as well. So you may e.g. add a link to your legal imprint-page.
|
||||
copyright = "© Jane Doe"
|
||||
|
||||
# The "description" of your website. This is used in the meta data of your generated html.
|
||||
|
@ -35,5 +36,6 @@ title = "Jane Doe - Nutrition Coach & Chef Consultant"
|
|||
# This theme will, by default, inject a design-by-line at the bottom of the page.
|
||||
# You can turn it off, but we would really appreciate if you don’t :-)
|
||||
# hidedesignbyline = true
|
||||
|
||||
[params.meta]
|
||||
keywords = "some, keywords, for, seo, you, know, google, duckduckgo, and, such"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<footer class="site-footer">
|
||||
<div class="inner">
|
||||
{{ with .Site.Params.copyright }}<section class="copyright">{{ . }}</section>{{ end }}
|
||||
{{ with .Site.Params.copyright }}<section class="copyright">{{ . | markdownify }}</section>{{ end }}
|
||||
<section>{{ echoParam .Site.Params "hidebyline" }}</section>
|
||||
{{ if ne .Site.Params.hidedesignbyline true }}<section>
|
||||
<a href="https://themes.gohugo.io/hugo-scroll/">Design</a> template built with ♥️ by <a href="https://www.janraasch.com" title="Jan Raasch">Jan Raasch</a>
|
||||
|
|
Loading…
Reference in a new issue