{% extends 'base.html' %}
<!---->
{% block title %}Młodzież | pdlzbs{% endblock %}
<!---->
{% load static tailwind_tags wysiwyg %} {% block content %}
<div class="flex flex-col items-center gap-4">
  {% for article in youth %}
  <article class="w-full max-w-screen-lg p-4">
    {% if article.show_title %}
    <h1 class="font-medium text-center mb-2">{{ article.title }}</h1>
    {% endif %} {% content article %}
    <div class="flex flex-wrap gap-4 items-center justify-center">
      {% buttons article.buttons %}
    </div>
  </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 %}
