{# `demo` renders the static build through these same templates, so it cannot drift from the live app. #} {% set assets = 'static' if demo else '/static' %} {% block title %}casefile{% if demo %} demo{% endif %}{% endblock %} {# Only the demo is a public site, so only it carries the tags a crawler or an unfurl reads. #} {% if demo %} {% endif %}
{% if demo %} {% else %} {% endif %}
{% if demo %}
This is a static demo of casefile, rendered from the real application against canned data. It cannot look anything up. To actually use it, run uvx casefile, or build it from source.
{% endif %} {% block content %}{% endblock %} {# htmx is the biggest asset in the wheel, so it loads only on pages that swap; casefile.js is on all of them. #} {% if htmx and not demo %}{% endif %} {% if demo %} {# The shared policies at cpwillis.dev cover any personal project that links to them, so this links. #} {% endif %}