💄 style: wrap post description in <p>

This commit is contained in:
welpo 2023-03-06 11:45:20 +01:00
parent 58fe89b643
commit dc64e2589d
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6
2 changed files with 3 additions and 3 deletions

View File

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

View File

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