💄 style: wrap post description in `<p>`

main
welpo 2 years ago
parent 58fe89b643
commit dc64e2589d
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -45,7 +45,7 @@
} }
} }
.description { .description p {
margin: 0.5rem 0 1rem; margin: 0.5rem 0 1rem;
color: var(--text-color); color: var(--text-color);
font-family: var(--sans-serif-font); font-family: var(--sans-serif-font);

@ -32,9 +32,9 @@
<div class="description"> <div class="description">
{% if post.description %} {% if post.description %}
{{ post.description }} <p>{{ post.description }}</p>
{% elif post.summary %} {% elif post.summary %}
{{ post.summary | safe }}&hellip; <p>{{ post.summary | safe }}&hellip;</p>
{% endif %} {% endif %}
</div> </div>

Loading…
Cancel
Save