git ssb

0+

Grey the earthling / gkn.me.uk



Commit c4b58da94cc6637dd07e7dbb3a27f47202177bf4

Display series more distinctly from tags in links to entries

Grey Nicholson committed on 10/3/2021, 1:43:09 PM
Parent: 30c0128a864b5c20c2b5f87e29a40f0c8e230a06

Files changed

generator/common.pychanged
generator/common.pyView
@@ -121,12 +121,16 @@
121121 + ">"
122122 + "<span>"
123123 + ("<strong>" + entries[id]["title"] + "</strong>")
124124 + "<span>"
125 + + ('<span class="hidden"> ·</span>' + " ")
125126 + (
126- '<span class="hidden"> ·</span>'
127- + " "
128- + f'<time datetime="{entries[id]["date"]:%Y-%m-%dT%H:%MZ}">'
127 + "from " + "<cite>" + entries[id]["series"] + "</cite>" + " · "
128 + if "series" in entries[id]
129 + else ""
130 + )
131 + + (
132 + f'<time datetime="{entries[id]["date"]:%Y-%m-%dT%H:%MZ}">'
129133 + entries[id]["date"].date().isoformat()
130134 + "</time>"
131135 )
132136 + (
@@ -137,13 +141,8 @@
137141 if "modified" in entries[id]
138142 else ""
139143 )
140144 + (
141- " · " + "<b>" + entries[id]["series"] + "</b>"
142- if "series" in entries[id]
143- else ""
144- )
145- + (
146145 " · " + ", ".join("<b>" + label + "</b>" for label in kwargs["labels"])
147146 if "labels" in kwargs
148147 else ""
149148 )

Built with git-ssb-web