Add tailwindcss

This commit is contained in:
Konstantin 2024-03-15 07:26:20 +01:00
parent 24123c99cf
commit 9a5489c170
17 changed files with 1833 additions and 102 deletions

View file

@ -26,25 +26,29 @@
{{ page.body }}
{% for item in page.gallery_images.all %}
<div style="float: inline-start; margin: 10px">
{% image item.image fill-320x240 %}
<p>{{ item.caption }}</p>
</div>
{% endfor %}
<div class="flex">
{% for item in page.gallery_images.all %}
<div class="m-4">
{% image item.image fill-320x240 %}
<p>{{ item.caption }}</p>
</div>
{% endfor %}
</div>
<p><a href="{{ page.get_parent.url }}">Return to blog</a></p>
{% with tags=page.tags.all %}
{% if tags %}
<div class="tags">
<h3>Tags</h3>
{% for tag in tags %}
<a href="{% slugurl 'tags' %}?tag={{ tag }}">{{ tag }}</a>
{% endfor %}
</div>
{% endif %}
{% if tags %}
<div class="tags">
<h3>Tags</h3>
<ul>
{% for tag in tags %}
<li><a href="{% slugurl 'tags' %}?tag={{ tag }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endwith %}
{% endwith %}
{% endblock %}