Commit 0ec06f1a1911767feb7effe12b399cff8c28bc3c
Show series' entries oldest-first
Grey Nicholson committed on 10/2/2021, 6:27:53 PMParent: eab692922ad24810bc8e5f90a802d9352ed14918
Files changed
generator/templates/series.py | changed |
generator/templates/series.py | |||
---|---|---|---|
@@ -29,12 +29,12 @@ | |||
29 | 29 … | def html(entries, series): | |
30 | 30 … | colour_class = common.slugify(series) | |
31 | 31 … | head = f"""<link href="{common.url_of_series_feed(series)}" rel="alternate" type="application/atom+xml" title="{series}">""" | |
32 | 32 … | list_of_entries = ( | |
33 | - "<ol reversed>" | ||
33 … | + "<ol>" | ||
34 | 34 … | + "".join( | |
35 | 35 … | ("<li>" + common.link_to_entry(entry) + "</li>") | |
36 | - for entry in reversed(entries) | ||
36 … | + for entry in entries | ||
37 | 37 … | if "series" in entries[entry] | |
38 | 38 … | and common.slugify(series) == common.slugify(entries[entry]["series"]) | |
39 | 39 … | ) | |
40 | 40 … | + "</ol>" | |
Built with git-ssb-web