{% extends "til_base.html" %} {% set tils = sql(""" select * from til where path = :topic || '_' || :slug || '.md' """, {"topic": topic, "slug": slug}, database="tils") %} {% set til = tils[0] %} {% if not tils %} {% set raised = raise_404("TIL not found") %} {% endif %} {% block title %}{{ til.title }} | TILs{% endblock %} {% block extra_head %} {% endblock %} {% block body %}

{{ til.title }}

{{ til.html|safe }} {# similarities table not yet created, check https://til.simonwillison.net/llms/openai-embeddings-related-content {% set related = related_tils(til) %} {% if related %} {% endif %} #}

Created {{ til.created }} {%- if til.created != til.updated %}, updated {{ til.updated }} {%- if TILLY_GITHUB_URL %} · History {%- endif %} {% endif %} {%- if TILLY_GITHUB_URL %} · Edit {%- endif %}

{% endblock %}