{% extends "til_base.html" %} {% block title %}TIL{% endblock %} {% block extra_head %} {% endblock %} {% block body %} {% set til_count = sql("select count(*) from TIL", database="tils")[0][0] %}

TIL

{% if enable_search %}

{% endif %}

Browse by topic: {% for row in sql("select topic, count(*) as num_tils from til group by topic order by topic", database="tils") %} 1 else "" }}" href="/{{ row.topic }}">{{ row.topic }} {{ row.num_tils }}{% if not loop.last %} ·{% endif %} {% endfor %}

Recent TILs

{% for til in sql("select * from til order by created_utc desc limit 30", database="tils") %}

{{ til.topic }} {{ til.title }} - {{ til.created[:10] }}

{{ first_paragraph(til["html"]).replace("

", " …

")|safe }} {% endfor %}

Browse all {{ til_count }} TILs

{% endblock %}