diff options
author | Daniil Baturin <daniil@baturin.org> | 2021-02-25 22:37:01 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2021-02-25 22:37:01 +0700 |
commit | 8bc998b0d6b91cb72d8fa9233126b1210d3eab79 (patch) | |
tree | d1965b57ba4b212ef385c46136d48e1b9d94f324 /scripts | |
parent | 8b3f1da998d43dc57ad8ce2c6eb567719a39404e (diff) | |
download | community.vyos.net-8bc998b0d6b91cb72d8fa9233126b1210d3eab79.tar.gz community.vyos.net-8bc998b0d6b91cb72d8fa9233126b1210d3eab79.zip |
Add ids to snapshot headers to make them linkable.
Diffstat (limited to 'scripts')
-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 6253596..b3bd98e 100755 --- a/scripts/list-snapshots.py +++ b/scripts/list-snapshots.py @@ -68,7 +68,7 @@ snapshots.sort(reverse=True, key=cmp_to_key(lambda l, r: compare(l["name"], r["n tmpl = jinja2.Template(""" {% for s in snapshots %} - <h3>{{s.name}}</h3> + <h3 id="{{s.name}}">{{s.name}}</h3> <ul> {% for f in s.files %} <li><a href="{{f.link}}">{{f.name}} ({{f.platform}})</a></li> |