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

47 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2020-07-06 18:55:32 +00:00
<footer class="gblog-footer">
<div class="container">
<div class="flex flex-wrap align-center">
2020-07-29 18:44:49 +00:00
{{ with (.Site.GetPage "home").OutputFormats.Get "atom" }}
<span class="gblog-footer__item">
<svg class="icon rss_feed"><use xlink:href="#rss_feed"></use></svg>
2020-07-22 09:12:24 +00:00
<a href='{{ .Permalink | relURL }}' class="gblog-footer__link">Feed</a>
</span>
2020-07-22 09:12:24 +00:00
{{ end }}
{{ with .GetPage "contact.md" }}
<span class="gblog-footer__item">
2020-07-12 21:07:37 +00:00
<svg class="icon email"><use xlink:href="#email"></use></svg>
<a href='{{ .Permalink | relURL }}' class="gblog-footer__link">Contact</a>
</span>
{{ end }}
{{ 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 }}
2020-07-06 18:55:32 +00:00
</div>
</footer>