We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1327c85 commit 98b338dCopy full SHA for 98b338d
_layouts/changelog.html
@@ -5,7 +5,7 @@
5
{{ content }}
6
7
{% assign channel = page.channel | default: 'stable' %}
8
-{% assign changelogs = site.changelogs | where: "locale", page.locale | where: "channel", channel | sort: "slug" | reverse %}
+{% assign changelogs = site.changelogs | where: "locale", page.locale | where: "channel", channel | version_sort: "slug" | reverse %}
9
{% for item in changelogs %}
10
{% assign version = item.default.slug %}
11
<h1 id="{% if forloop.index == 1 %}nowchange{% else %}HMCL-{{ version }}{% endif %}" data-version="{{ version }}" lang="en">HMCL {{ version }}</h1>
0 commit comments