mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 22:10:39 +00:00
add option to specify hosting provider and default content license to footer
This commit is contained in:
parent
7c82570096
commit
53184382ef
@ -19,6 +19,11 @@
|
||||
<a href="{{ . | relURL }}" class="gblog-footer__link">Privacy Policy</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.GeekblogContentLicense }}
|
||||
<span class="gblog-footer__item">
|
||||
Content licensed under <a href="{{ .link }}" class="gblog-footer__link no-wrap">{{ .name }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="flex flex-wrap align-center">
|
||||
<span class="gblog-footer__item">
|
||||
@ -26,5 +31,12 @@
|
||||
<svg class="icon heart"><use xlink:href="#heart"></use></svg>
|
||||
</span>
|
||||
</div>
|
||||
{{ with .Site.Params.GeekblogHostedOn }}
|
||||
<div class="flex flex-wrap align-center">
|
||||
<span class="gblog-footer__item">
|
||||
Hosted on <a href="{{ .link }}" class="gblog-footer__link">{{ .name }}</a>
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user