mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 20:50:40 +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>
|
<a href="{{ . | relURL }}" class="gblog-footer__link">Privacy Policy</a>
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ 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>
|
||||||
<div class="flex flex-wrap align-center">
|
<div class="flex flex-wrap align-center">
|
||||||
<span class="gblog-footer__item">
|
<span class="gblog-footer__item">
|
||||||
@ -26,5 +31,12 @@
|
|||||||
<svg class="icon heart"><use xlink:href="#heart"></use></svg>
|
<svg class="icon heart"><use xlink:href="#heart"></use></svg>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user