mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
52 lines
2.0 KiB
HTML
52 lines
2.0 KiB
HTML
<div id="navbar" class="{{ theme_navbar_class }} {% if theme_navbar_fixed_top|tobool -%} navbar-fixed-top{%- endif -%}">
|
|
<div class="navbar-inner">
|
|
<div class="container">
|
|
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
|
<button class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
|
|
<a class="brand" href="{{ pathto(master_doc) }}">
|
|
{%- block sidebarlogo %}
|
|
{%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}
|
|
{%- endblock %}
|
|
{% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}
|
|
</a>
|
|
<span class="navbar-text pull-left"><b>{{ version|e }}</b></span>
|
|
|
|
<div class="nav-collapse">
|
|
<ul class="nav">
|
|
<li class="divider-vertical"></li>
|
|
{% if theme_navbar_links %}
|
|
{%- for link in theme_navbar_links %}
|
|
<li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li>
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% block navbartoc %}
|
|
{% include "globaltoc.html" %}
|
|
{% if theme_navbar_pagenav %}
|
|
{% include "navbartoc.html" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% if theme_navbar_sidebarrel %}
|
|
{% block sidebarrel %}
|
|
{% include "relations.html" %}
|
|
{% endblock %}
|
|
{% endif %}
|
|
{% block navbarextra %}
|
|
{% endblock %}
|
|
{% if theme_source_link_position == "nav" %}
|
|
<li>{% include "sourcelink.html" %}</li>
|
|
{% endif %}
|
|
</ul>
|
|
|
|
{% block navbarsearch %}
|
|
{% include "navbarsearchbox.html" %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|