mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 21:20:43 +00:00
45 lines
2.0 KiB
HTML
45 lines
2.0 KiB
HTML
<footer class="gblog-footer">
|
|
<div class="container">
|
|
<div class="flex flex-wrap align-center">
|
|
{{ with (.Site.GetPage "home").OutputFormats.Get "atom" }}
|
|
<span class="gblog-footer__item">
|
|
<svg class="icon rss_feed"><use xlink:href="#rss_feed"></use></svg>
|
|
<a href='{{ .Permalink | relURL }}' class="gblog-footer__link">Feed</a>
|
|
</span>
|
|
{{ end }}
|
|
<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>
|