Skip to content

Commit

Permalink
💄 style: wrap post description in <p>
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Mar 6, 2023
1 parent 58fe89b commit dc64e25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sass/parts/_posts_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
}

.description {
.description p {
margin: 0.5rem 0 1rem;
color: var(--text-color);
font-family: var(--sans-serif-font);
Expand Down
4 changes: 2 additions & 2 deletions templates/macros/list_posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit dc64e25

Please sign in to comment.