use links ending in index.html for easier file:// viewing

This commit is contained in:
xenofem 2024-01-23 21:01:02 -05:00
parent 79b946889d
commit a825162dee
8 changed files with 27 additions and 25 deletions

View file

@ -1,2 +1,2 @@
{% from 'utils.html' import root with context %}
<div class="nav">{% for c in ['circles', 'authors', 'tags', 'series'] %}<div class="nav-item"><a href="{{ root() }}{{ c }}">{{ c.capitalize() }}</a></div>{% endfor %}</div>
{% from 'utils.html' import root, index with context %}
<div class="nav">{% for c in ['circles', 'authors', 'tags', 'series'] %}<div class="nav-item"><a href="{{ root() }}/{{ c }}/{{ index() }}">{{ c.capitalize() }}</a></div>{% endfor %}</div>