[TWIG] Various routes added

This commit is contained in:
rainydaysavings 2020-09-04 00:18:16 +01:00 committed by Hugo Sales
parent 3d3db96312
commit 4328a11eb1
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@
{% block left %}
{% endblock left %}
<nav id='instance'>
<a href="/">
<a href="{{ path('main_public') }}">
<svg class="icon icon-logo">
<use xlink:href="#icon-logo"></use>
</svg><b>GNU social</b>

View File

@ -40,7 +40,7 @@
</a>
</div>
<a href='#'>Messages</a>
<a href='#'>Replies</a>
<a href="{{ path("replies", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("replies") }}'>Replies</a>
<a href='#'>Favourites</a>
<a href='#'>Reverse Favs</a>
<a href="{{ path('settings_personal_info') }}" class='hover-effect {{ active('settings_') }}'>Settings</a>

View File

@ -67,7 +67,7 @@
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Timeline</a>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Timeline</a>
</li>
</ul>
</nav>
@ -75,7 +75,7 @@
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Public</a>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a>
</li>
{% if user_nickname is defined %}
<li>
@ -83,7 +83,7 @@
</li>
{% endif %}
<li>
<a href="#">Network</a>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
</li>
</ul>
</nav>