{% extends "fellchensammlung/base_generic.html" %}
{% load i18n %}
{% load custom_tags %}

{% block title %}<title>{% translate "Notfellchen - Farbratten aus dem Tierschutz adoptieren" %}</title>{% endblock %}

{% block content %}
    {% for announcement in announcements %}
        {% include "fellchensammlung/partials/partial-announcement.html" %}
    {% endfor %}
    {% if introduction %}
        <h1>{{ introduction.title }}</h1>
        {{ introduction.content | render_markdown }}
    {% endif %}

    <h2>{% translate "Aktuelle Vermittlungen" %}</h2>

    <div class="container-cards">
        {% include "fellchensammlung/lists/list-adoption-notices.html" %}
        <a class="btn2" href="{% url 'search' %}">{% translate "Mehr Vermittlungen" %}</a>
    </div>

    <div class="map-in-content">
        <div class="card">
            <h1>{% translate 'Karte' %}</h1>
            {% include "fellchensammlung/partials/partial-map.html" %}
        </div>
    </div>

    {% if how_to %}
        <div class="card">
            <h1>{{ how_to.title }}</h1>
            {{ how_to.content | render_markdown }}
        </div>
    {% endif %}

{% endblock %}