Skip to content

Commit

Permalink
Update news.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin committed Oct 3, 2024
1 parent 37c9db9 commit 9568896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion news.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<h1>Latest News</h1>

<ul>
{% for post in site.news %}
{% assign posts = site.news | sort 'date' | reverse %}

{% for post in posts %}
<li>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{{ post.date | date: "%e %B %Y" }}
Expand Down

0 comments on commit 9568896

Please sign in to comment.