Add footer partial
This commit is contained in:
parent
fffe14dfba
commit
28c0fb7bcf
|
@ -16,19 +16,6 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="border-grey-light border-t mb-8 mt-10 pt-5 text-sm">
|
{% include 'layout/footer' %}
|
||||||
<div class="md:flex md:justify-between">
|
|
||||||
<div>
|
|
||||||
<p>© 2010-{{ 'now'|date('Y') }} {{ site.title }}</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
Built with <a href="https://sculpin.io">Sculpin</a> and <a href="https://tailwindcss.com">Tailwind CSS</a>,
|
|
||||||
and hosted on <a href="https://www.netlify.com">Netlify</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
14
source/_partials/layout/footer.html.twig
Normal file
14
source/_partials/layout/footer.html.twig
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<footer class="border-grey-light border-t mb-8 mt-10 pt-5 text-sm">
|
||||||
|
<div class="md:flex md:justify-between">
|
||||||
|
<div>
|
||||||
|
<p>© 2010-{{ 'now'|date('Y') }} {{ site.title }}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
Built with <a href="https://sculpin.io">Sculpin</a> and <a href="https://tailwindcss.com">Tailwind CSS</a>,
|
||||||
|
and hosted on <a href="https://www.netlify.com">Netlify</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
Reference in a new issue