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]
|
[params]
|
||||||
# A "copyright"-line to be added at the bottom of the page.
|
# 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"
|
copyright = "© Jane Doe"
|
||||||
|
|
||||||
# The "description" of your website. This is used in the meta data of your generated html.
|
# The "description" of your website. This is used in the meta data of your generated html.
|
||||||
|
@ -26,14 +27,15 @@ title = "Jane Doe - Nutrition Coach & Chef Consultant"
|
||||||
# See https://gohugo.io/templates/internal#twitter-cards and
|
# See https://gohugo.io/templates/internal#twitter-cards and
|
||||||
# https://gohugo.io/templates/internal#open-graph.
|
# https://gohugo.io/templates/internal#open-graph.
|
||||||
images = ["/images/cover-image.jpg"]
|
images = ["/images/cover-image.jpg"]
|
||||||
|
|
||||||
# Another "title" :-). This one is used as the site_name on the Hugo's internal
|
# Another "title" :-). This one is used as the site_name on the Hugo's internal
|
||||||
# opengraph structured data template.
|
# opengraph structured data template.
|
||||||
# See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
|
# See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
|
||||||
title = "Jane Doe - Nutrition Coach & Chef Consultant"
|
title = "Jane Doe - Nutrition Coach & Chef Consultant"
|
||||||
|
|
||||||
# This theme will, by default, inject a design-by-line at the bottom of the page.
|
# 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 :-)
|
# You can turn it off, but we would really appreciate if you don’t :-)
|
||||||
# hidedesignbyline = true
|
# hidedesignbyline = true
|
||||||
|
|
||||||
[params.meta]
|
[params.meta]
|
||||||
keywords = "some, keywords, for, seo, you, know, google, duckduckgo, and, such"
|
keywords = "some, keywords, for, seo, you, know, google, duckduckgo, and, such"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<div class="inner">
|
<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>
|
<section>{{ echoParam .Site.Params "hidebyline" }}</section>
|
||||||
{{ if ne .Site.Params.hidedesignbyline true }}<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>
|
<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>
|
||||||
</section>{{ end }}
|
</section>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue