We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f01189 commit f1b1e12Copy full SHA for f1b1e12
templates/index.html
@@ -79,7 +79,7 @@ <h1>Simon Willison: TIL</h1>
79
</form>
80
81
<p><strong>Browse by topic:</strong>
82
-{% for row in sql("select topic, count(*) as num_tils from til group by topic order by max(created_utc) desc", database="tils") %}
+{% for row in sql("select topic, count(*) as num_tils from til group by topic order by topic", database="tils") %}
83
<a title="{{ row.num_tils }} TIL{{ "s" if row.num_tils > 1 else "" }}" href="/{{ row.topic }}">{{ row.topic }}</a> {{ row.num_tils }}{% if not loop.last %} ·{% endif %}
84
{% endfor %}
85
</p>
0 commit comments