💄 style: wrap post description in <p>
This commit is contained in:
parent
58fe89b643
commit
dc64e2589d
@ -45,7 +45,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
.description p {
|
||||
margin: 0.5rem 0 1rem;
|
||||
color: var(--text-color);
|
||||
font-family: var(--sans-serif-font);
|
||||
|
@ -32,9 +32,9 @@
|
||||
|
||||
<div class="description">
|
||||
{% if post.description %}
|
||||
{{ post.description }}
|
||||
<p>{{ post.description }}</p>
|
||||
{% elif post.summary %}
|
||||
{{ post.summary | safe }}…
|
||||
<p>{{ post.summary | safe }}…</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user