git ssb

0+

Grey the earthling / gkn.me.uk



Commit 0ec06f1a1911767feb7effe12b399cff8c28bc3c

Show series' entries oldest-first

Grey Nicholson committed on 10/2/2021, 6:27:53 PM
Parent: eab692922ad24810bc8e5f90a802d9352ed14918

Files changed

generator/templates/series.pychanged
generator/templates/series.pyView
@@ -29,12 +29,12 @@
2929 def html(entries, series):
3030 colour_class = common.slugify(series)
3131 head = f"""<link href="{common.url_of_series_feed(series)}" rel="alternate" type="application/atom+xml" title="{series}">"""
3232 list_of_entries = (
33- "<ol reversed>"
33 + "<ol>"
3434 + "".join(
3535 ("<li>" + common.link_to_entry(entry) + "</li>")
36- for entry in reversed(entries)
36 + for entry in entries
3737 if "series" in entries[entry]
3838 and common.slugify(series) == common.slugify(entries[entry]["series"])
3939 )
4040 + "</ol>"

Built with git-ssb-web