Skip to content

Commit

Permalink
Show blog-posts ordered and also with this format: 'June 01, 2024'
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmeValera committed Jun 16, 2024
1 parent a6beeaa commit 848363f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
+++
template = "blog.html"
sort_by = "date"
+++
2 changes: 1 addition & 1 deletion templates/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<h3><a class="blog-title" href="{{ post.permalink }}">{{ post.title }}</a></h3>
<div class="blog-card-details">
<p class="card-description"> {{ post.description }} </p>
<span class="card-date"> {{ post.date }}</span>
<span class="card-date"> {{ post.date | date(format="%B %d, %Y") }}</span>
</div>
</div>
{% endfor %}
Expand Down

0 comments on commit 848363f

Please sign in to comment.