Footer added 🦶🏼
This commit is contained in:
parent
5bf88d07f4
commit
162fb639c2
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -17,6 +17,14 @@
|
||||||
{{ghost_head}}
|
{{ghost_head}}
|
||||||
</head>
|
</head>
|
||||||
<body class="{{body_class}}">
|
<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 --}}
|
{{!-- The #block helper will pull in data from the #contentFor other template files --}}
|
||||||
{{{block "scripts"}}}
|
{{{block "scripts"}}}
|
||||||
|
|
||||||
|
|
21
partials/footer.hbs
Normal file
21
partials/footer.hbs
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<footer class="m-footer">
|
||||||
|
<div class="m-footer__content">
|
||||||
|
<p class="m-footer-copyright">
|
||||||
|
<span>{{@site.title}} © {{date format="YYYY"}}</span>
|
||||||
|
<span> • </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>
|
Loading…
Reference in a new issue