Skip to content

Commit

Permalink
Remove empty p tags from liquid tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cy-by committed Sep 13, 2024
1 parent 216b3ec commit 1c59299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ layout: layout.liquid
# Posts

<ul class="post-list">
{%- for post in collections.post reversed %}
{%- for post in collections.post reversed -%}
<li>
<a href="{{ post.url }}">{{ post.data.title }}</a>
<time>{{ post.data.date | date: "%Y-%m-%d"}}</time>
Expand Down

0 comments on commit 1c59299

Please sign in to comment.