This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
docs/templates/categories/list.html
stuebinm 20082e969f initial proof of concept
idea: write markdown, get a more-or-less readable with categories and search
because no one wants to deal with wikis (or just use fd & rg locally, I guess).

Add docs to `content/`; all subdirs of that need a _index.md file that defines
the theme. Categories are just strings and can be defined ad-hoc; the search
goes through all files in `content/` and subdirs based on a search index built
by zola when building the site.
2022-01-05 22:10:25 +01:00

16 lines
345 B
HTML

{% extends "base.html" %}
{% block content %}
<main>
<h1>Categories</h1>
{% if terms %}
<ul>
{% for term in terms %}
<li><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</li>
{% endfor %}
</ul>
{% endif %}
</main>
{% endblock content %}