We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f17f7 commit 5d43d0dCopy full SHA for 5d43d0d
layouts/documentation.html.twig
@@ -20,7 +20,7 @@
20
<article class="col-12">
21
<div class="entry-content">{{ page.content }}</div>
22
{% set component = page.component %}
23
- {% set tags = site.data.github.libimobiledevice[component].tags | sort((a,b) => version_compare(b, a)) %}
+ {% set tags = site.data.github.libimobiledevice[component].tags | sort((a,b) => (b|split('.')|map(v => '%05d'|format(v))|join) <=> (a|split('.')|map(v => '%05d'|format(v))|join)) %}
24
{% for tag in tags %}
25
<div class="entry-content">
26
<a href="{{ component }}/{{ tag }}/">{{ component }} {{ tag }}</a>
0 commit comments