{# FE2-2: /corpus — a read lens over the processed-papers corpus (state DB). #} {% extends "base.html" %} {% block title %}Corpus — lit-monitor{% endblock %} {% block content %}
{# Filter form: hx-get refreshes only the #corpus-table region. New filters reset to offset 0 (the hidden offset starts at 0; pagination links carry the current filters forward). #}
{# PF-3: theme/cluster filter. On a fresh install there are no clusters yet, so render a "no themes" note instead of an empty/broken {% for t in themes %} {% endfor %} {% else %} No themes yet — run a brain-build to cluster papers. {% endif %}
{% include "corpus/_table.html" %}
{% endblock %}