fix "Posts" tab in /app

master
Aevann1 2022-11-26 06:36:14 +02:00
parent 08d0fd605e
commit 243f3da00c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<ul class="nav post-nav py-2">
<li class="nav-item">
<a class="nav-link {% if request.path.endswith('/posts') %} active{% endif %}" href="{{request.path.replace('/posts','/comments')}}">
<a class="nav-link {% if request.path.endswith('/posts') %} active{% endif %}" href="{{request.path.replace('/comments','/posts')}}">
<div>Posts</div>
</a>
</li>