mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-30 03:50:40 +00:00
Indicate which page is the current.
This commit is contained in:
parent
09c5275ec4
commit
cb8ec01ccf
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@
|
||||||
<h1 class="title">{% blocktrans %}{{ tab_title }} Timeline{% endblocktrans %}</h1>
|
<h1 class="title">{% blocktrans %}{{ tab_title }} Timeline{% endblocktrans %}</h1>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="{% if tab == 'home' %}is-active{% endif %}">
|
<li class="{% if tab == 'home' %}is-active{% endif %}"{% if tab == 'home' %} aria-current="page"{% endif %}>
|
||||||
<a href="/#feed">{% trans "Home" %}</a>
|
<a href="/#feed">{% trans "Home" %}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{% if tab == 'local' %}is-active{% endif %}">
|
<li class="{% if tab == 'local' %}is-active{% endif %}"{% if tab == 'local' %} aria-current="page"{% endif %}>
|
||||||
<a href="/local#feed">{% trans "Local" %}</a>
|
<a href="/local#feed">{% trans "Local" %}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{% if tab == 'federated' %}is-active{% endif %}">
|
<li class="{% if tab == 'federated' %}is-active{% endif %}"{% if tab == 'federated' %} aria-current="page"{% endif %}>
|
||||||
<a href="/federated#feed">{% trans "Federated" %}</a>
|
<a href="/federated#feed">{% trans "Federated" %}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue