Add footer below examples
This commit is contained in:
parent
2b1680fcfc
commit
cb479d38c1
3 changed files with 18 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
sculpin_content_types:
|
||||
examples:
|
||||
permalink: /:basename/
|
||||
layout: base
|
||||
posts:
|
||||
enabled: false
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="stylesheet" href="/build/tailwind.css" />
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}
|
||||
{% block content_wrapper %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
|
17
source/_layouts/example.html.twig
Normal file
17
source/_layouts/example.html.twig
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
{{ parent() }}
|
||||
|
||||
<footer class="text-gray-500">
|
||||
<div class="max-w-xl mx-auto py-12 px-6 lg:max-w-6xl lg:grid lg:grid-cols-10">
|
||||
<div class="markup lg:col-span-6">
|
||||
<p>This page is an experiment for my <a href="https://www.oliverdavies.uk/talks/taking-flight-with-tailwind-css">Taking Flight with Tailwind CSS</a> talk, where I rebuild Bootstrap CSS examples with Tailwind.</p>
|
||||
</div>
|
||||
|
||||
<div class="markup lg:col-span-4 lg:text-right">
|
||||
<p><a href="#">Back to top</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue