💄 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;
|
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 }}…
|
<p>{{ post.summary | safe }}…</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user