pdlzbs/core/templates/youth.html

22 lines
658 B
HTML

{% extends 'base.html' %}
<!---->
{% block title %}Młodzież | pdlzbs{% endblock %}
<!---->
{% load static tailwind_tags tablepipe %} {% block content %}
<h1 class="text-center mb-4">Młodzież</h1>
<div class="flex flex-col items-center gap-4">
{% for article in youth %}
<article class="w-full pb-4">
{% if article.show_title %}
<h2 class="font-normal">{{ article.title }}</h2>
{% endif %} {{ article.content | tablescroll | safe }}
</article>
{% if not forloop.last %}
<hr class="w-36 border-b border-stone-200" />
{% endif %} {% empty %}
<span class="py-4 text-xl">Brak artykułów</span>
{% endfor %}
</div>
{% endblock %}