use links ending in index.html for easier file:// viewing
This commit is contained in:
parent
79b946889d
commit
a825162dee
8 changed files with 27 additions and 25 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue