doc/themes/yunohost-docs/templates/partials/topbar.html.twig

28 lines
1 KiB
Twig
Raw Normal View History

2020-11-14 14:15:42 +01:00
<div id="top-bar">
{% if github_link_position == 'top' %}
<div id="top-github-link">
{% include 'partials/github-link.html.twig' %}
</div>
{% endif %}
<div id="navigation">
{% if theme_var('github.link') %}
{% include 'partials/github-link.html.twig' %}
{% endif %}
2021-02-08 16:17:32 +01:00
{% include 'partials/darkmodeswitcher.html.twig' %}
2020-11-14 14:15:42 +01:00
{% if not progress.isFirst(page.path) %}
<a class="nav-prev tooltip tooltip-bottom" data-tooltip="Previous Page [&larr;]" href="{{ progress.nextSibling(page.path).url }}"> <i class="fa fa-angle-left"></i></a>
{% else %}
<span class="disabled"><i class="fa fa-angle-left"></i></span>
{% endif %}
{% if not progress.isLast(page.path) %}
<a class="nav-next tooltip tooltip-bottom" data-tooltip="Next Page [&rarr;]" href="{{ progress.prevSibling(page.path).url }}"><i class="fa fa-angle-right"></i></a>
{% else %}
<span class="disabled"><i class="fa fa-angle-right"></i></span>
{% endif %}
</div>
<div class="progress"></div>
</div>