mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
Try to fix lists of releases
This commit is contained in:
parent
264651c88e
commit
1fea0a8e42
3 changed files with 7 additions and 15 deletions
|
@ -43,13 +43,10 @@ Radicale server ready</pre>
|
|||
|
||||
<section>
|
||||
<h2>What's new?</h2>
|
||||
{% if site.github.releases %}
|
||||
{% assign releases = site.github.releases | where:"draft",false | sort:"created_at" | reverse %}
|
||||
{% assign latest_release = releases[0] %}
|
||||
{% endif %}
|
||||
{% assign releases = site.github.releases where:"draft",false sort:"created_at" reversed %}
|
||||
<p>
|
||||
Latest version of {{ site.title }} is {{ latest_release.tag_name }},
|
||||
released on {{ latest_release.created_at | date: "%B %-d, %Y" }}
|
||||
Latest version of {{ site.title }} is {{ releases[0].tag_name }},
|
||||
released on {{ releases[0].created_at | date: "%B %-d, %Y" }}
|
||||
(<a href="https://github.com/Kozea/{{ site.title }}/blob/master/NEWS.rst">changelog</a>).
|
||||
</p>
|
||||
<aside><a href="{{ site.baseurl }}/news/">Read latest news…</a></aside>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue