2023-06-11 17:03:29 +00:00
|
|
|
<nav>
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li{% if this._path == '/' %} class="active"{% endif%}><a href="{{ '/'|url }}">Home</a></li>
|
|
|
|
{% for href, title in [
|
2023-08-26 19:56:49 +00:00
|
|
|
['/epubs', 'Epubs'],
|
2023-06-11 17:03:29 +00:00
|
|
|
] %}
|
|
|
|
<li{% if this.is_child_of(href) %} class="active"{% endif
|
|
|
|
%}><a href="{{ href|url }}">{{ title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|