Use url_for in all templates

This commit is contained in:
Gregor Sturm
2021-01-18 19:47:18 +01:00
parent 94062c2d64
commit 8c5a635de9
5 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -36,10 +36,10 @@
Navigation:
<ul>
{% if path %}
<li><a href="/filecrawl.html">top level</a></li>
<li><a href="{{ url_for('filecrawl') }}">top level</a></li>
{% else %}
{% endif %}
<li><a href="/">homepage</a></li>
<li><a href="{{ url_for('index') }}">homepage</a></li>
</ul>
</p>
<script>