feat: Add index page in bulma
This commit is contained in:
parent
2106a3423f
commit
45a534a042
@ -0,0 +1,37 @@
|
||||
{% extends "fellchensammlung/base_bulma.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 %}
|
Loading…
x
Reference in New Issue
Block a user