liebling/partials/footer.hbs
2020-11-07 20:18:06 +01:00

37 lines
1.4 KiB
Handlebars

{{!--
This footer template is shared across all the pages.
--}}
<footer class="m-footer">
<div class="m-footer__content">
{{#if @site.secondary_navigation}}
<nav class="m-footer__nav-secondary" role="navigation" aria-label="{{t "Secondary menu in footer"}}">
{{navigation type="secondary"}}
</nav>
{{/if}}
<nav class="m-footer-social">
{{#if @site.facebook}}
<a href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener" aria-label="Facebook">
<span class="icon-facebook" aria-hidden="true"></span>
</a>
{{/if}}
{{#if @site.twitter}}
<a href="{{twitter_url @site.twitter}}" target="_blank" rel="noopener" aria-label="Twitter">
<span class="icon-twitter" aria-hidden="true"></span>
</a>
{{/if}}
<a href="{{@site.url}}/rss" aria-label="RSS">
<span class="icon-rss" aria-hidden="true"></span>
</a>
</nav>
<p class="m-footer-copyright">
<span>{{@site.title}} &copy; {{date format="YYYY"}}</span>
<span>&nbsp; &bull; &nbsp;</span>
<span>{{t "Published with"}} <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span>
</p>
<p class="m-footer-copyright jslicense">
<a href="{{asset "html/javascript.html"}}" rel="jslicense">{{t "JavaScript license information"}}</a>
</p>
</div>
</footer>