highlight improvement

pull/216/head
Aevann 2023-10-13 15:34:52 +03:00
parent 5496e2b6bc
commit cf6a66a368
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<div class="flex-row box-shadow-bottom d-flex justify-content-center justify-content-md-between align-items-center">
<ul class="nav settings-nav" id="content">
<li class="nav-item mr-1">
<a class="nav-link{% if path == '' %} active{% endif %}" href="/@{{u.username}}">Wall</a>
<a class="nav-link{% if path == '' or path.startswith('/@' ~ u.username ~ '/wall/comment/') %} active{% endif %}" href="/@{{u.username}}">Wall</a>
</li>
<li class="nav-item">
<a class="nav-link{% if path == '/posts' %} active{% endif %}" href="/@{{u.username}}/posts">Posts <span class="count">({{u.real_post_count(v)}})</span></a>