hugo-geekblog/layouts/partials/site-footer.html

43 lines
1.9 KiB
HTML

<footer class="gblog-footer">
<div class="container">
<div class="flex flex-wrap align-center">
<span class="gblog-footer__item">
<svg class="icon rss_feed"><use xlink:href="#rss_feed"></use></svg>
<a href='{{ "atom.xml" | relURL }}' class="gblog-footer__link">Feed</a>
</span>
<span class="gblog-footer__item">
<svg class="icon email"><use xlink:href="#email"></use></svg>
<a href='{{ "contact" | relURL }}' class="gblog-footer__link">Contact</a>
</span>
{{ with .Site.Params.GeekblogLegalNotice }}
<span class="gblog-footer__item">
<a href="{{ . | relURL }}" class="gblog-footer__link">Legal Notice</a>
</span>
{{ end }}
{{ with .Site.Params.GeekblogPrivacyPolicy }}
<span class="gblog-footer__item">
<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">
Built with <a href="https://gohugo.io/" class="gblog-footer__link">Hugo</a> and
<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>