2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

Sort the versions from the latest to the oldest.

This commit is contained in:
XhmikosR
2020-07-13 21:44:23 +03:00
committed by Mark Otto
parent c52b7d5475
commit 9e372b121a
+1 -1
View File
@@ -5,7 +5,7 @@ description: An appendix of hosted documentation for nearly every release of Boo
{{< list-versions.inline >}}
<div class="row">
{{- range $release := (index $.Site.Data "docs-versions") }}
{{- range $release := sort (index $.Site.Data "docs-versions") "group" "desc" }}
<div class="col-md mb-4">
<h2>{{ $release.group }}</h2>
<p>{{ $release.description }}</p>