diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-01 18:05:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 18:05:24 +0200 |
commit | 2093fa66f164735a4c7b5d6b74849b855eda5896 (patch) | |
tree | 5c34c7e7b7229f45387b44ea3fadcb56c545873f /scripts/list-snapshots.py | |
parent | bfacc30d6c1eb498bd0c425d59b65b1fbe7ba317 (diff) | |
download | community.vyos.net-2093fa66f164735a4c7b5d6b74849b855eda5896.tar.gz community.vyos.net-2093fa66f164735a4c7b5d6b74849b855eda5896.zip |
snapshots: sort list of images when building page
Diffstat (limited to 'scripts/list-snapshots.py')
-rwxr-xr-x | scripts/list-snapshots.py | 2 |
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 %} |