use dl for quote and description

This commit is contained in:
krmax44 2022-03-15 15:24:02 +01:00
parent 63e8bbb5a2
commit 0b98d22569
No known key found for this signature in database
GPG key ID: 5C499A4F4EC4EE03

View file

@ -49,12 +49,13 @@
<div class="row"> <div class="row">
<div class="col col-12 col-md-7 col-lg-8 order-md-2 offset-lg-1"> <div class="col col-12 col-md-7 col-lg-8 order-md-2 offset-lg-1">
<dl>
{% if object.quote %} {% if object.quote %}
<h2 class="h6">Ausschnitt aus dem Koalitionsvertrag</h2> <dt>Ausschnitt aus dem Koalitionsvertrag</dt>
<dd>
<blockquote> <blockquote>
{{ object.quote | addquotes | markdown }} {{ object.quote | addquotes | markdown }}
</blockquote> </blockquote>
{% endif %}
{% with refs=object.get_reference_links %} {% with refs=object.get_reference_links %}
{% if refs %} {% if refs %}
<p> <p>
@ -73,13 +74,16 @@
</p> </p>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
{% endif %}
</dd>
{% if object.description %} {% if object.description %}
<div class="mt-5"> <div class="mt-5">
<h2 class="h6">Unsere Einschätzung</h2> <dt>Unsere Einschätzung</dt>
{{ object.description | safe }} <dd>{{ object.description | safe }}</dd>
</div> </div>
{% endif %} {% endif %}
</dl>
</div> </div>
<div class="col col-12 col-md-5 col-lg-3 mt-5 mt-md-0"> <div class="col col-12 col-md-5 col-lg-3 mt-5 mt-md-0">
<dl> <dl>