feat: Use card concept for about site

This commit is contained in:
moanos [he/him] 2024-11-30 09:37:14 +01:00
parent 5771968981
commit 4f5022e140

View File

@ -6,25 +6,41 @@
{% block content %} {% block content %}
{% if about_us %} {% if about_us %}
<h1>{{ about_us.title }}</h1> <div class="card">
{{ about_us.content | render_markdown }} <h1>{{ about_us.title }}</h1>
<p>
{{ about_us.content | render_markdown }}
</p>
</div>
{% endif %} {% endif %}
<h2>{% translate "Regeln" %}</h2> <h2>{% translate "Regeln" %}</h2>
{% include "fellchensammlung/lists/list-rules.html" %} {% include "fellchensammlung/lists/list-rules.html" %}
{% if privacy_statement %} {% if privacy_statement %}
<h2>{{ privacy_statement.title }}</h2> <div class="card">
{{ privacy_statement.content | render_markdown }} <h2>{{ privacy_statement.title }}</h2>
<p>
{{ privacy_statement.content | render_markdown }}
</p>
</div>
{% endif %} {% endif %}
{% if terms_of_service %} {% if terms_of_service %}
<h2>{{ terms_of_service.title }}</h2> <div class="card">
{{ terms_of_service.content | render_markdown }} <h2>{{ terms_of_service.title }}</h2>
<p>
{{ terms_of_service.content | render_markdown }}
</p>
</div>
{% endif %} {% endif %}
{% if imprint %} {% if imprint %}
<h2>{{ imprint.title }}</h2> <div class="card">
{{ imprint.content | render_markdown }} <h2>{{ imprint.title }}</h2>
<p>
{{ imprint.content | render_markdown }}
</p>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}