Footer added 🦶🏼

This commit is contained in:
Eduardo 2019-02-19 22:01:44 +01:00
parent 5bf88d07f4
commit 162fb639c2
7 changed files with 30 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -17,6 +17,14 @@
{{ghost_head}}
</head>
<body class="{{body_class}}">
<main>
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
</main>
{{!-- The footer --}}
{{> footer}}
{{!-- The #block helper will pull in data from the #contentFor other template files --}}
{{{block "scripts"}}}

21
partials/footer.hbs Normal file
View file

@ -0,0 +1,21 @@
<footer class="m-footer">
<div class="m-footer__content">
<p class="m-footer-copyright">
<span>{{@site.title}} &copy; {{date format="YYYY"}}</span>
<span>&nbsp; &bull; &nbsp;</span>
<span>Published with <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span>
</p>
<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"></span>
</a>
{{/if}}
{{#if @site.twitter}}
<a href="{{twitter_url @site.twitter}}" target="_blank" rel="noopener" aria-label="Twitter">
<span class="icon-twitter"></span>
</a>
{{/if}}
</nav>
</div>
</footer>