summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-01 18:05:24 +0200
committerGitHub <noreply@github.com>2021-10-01 18:05:24 +0200
commit2093fa66f164735a4c7b5d6b74849b855eda5896 (patch)
tree5c34c7e7b7229f45387b44ea3fadcb56c545873f
parentbfacc30d6c1eb498bd0c425d59b65b1fbe7ba317 (diff)
downloadcommunity.vyos.net-2093fa66f164735a4c7b5d6b74849b855eda5896.tar.gz
community.vyos.net-2093fa66f164735a4c7b5d6b74849b855eda5896.zip
snapshots: sort list of images when building page
-rwxr-xr-xscripts/list-snapshots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/list-snapshots.py b/scripts/list-snapshots.py
index b298a5a..c4c075e 100755
--- a/scripts/list-snapshots.py
+++ b/scripts/list-snapshots.py
@@ -67,7 +67,7 @@ for name in snapshot_names:
snapshots = natural_sort(snapshots, reverse=True)
tmpl = jinja2.Template("""
-{% for s in snapshots %}
+{% for s in snapshots | sort %}
<h3 id="{{s.name}}"><a href="#{{s.name}}">#</a> {{s.name}}</h3>
<ul>
{% for f in s.files %}