mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-11 16:22:24 +02:00
- Consistent background color in all types of codes - Improve dd (list item) padding - Link to Index in global TOC in navbar - Briefly describe Instaloader in `index.html` title - Remove page contents (navbartoc) in index, genindex and installation - Link to new pypi.org rather than old pypi.python.org
59 lines
3.1 KiB
HTML
59 lines
3.1 KiB
HTML
<div id="navbar" class="{{ theme_navbar_class }} navbar-default {% if theme_navbar_fixed_top|tobool -%} navbar-fixed-top{%- endif -%}">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
|
<button type="button" class="navbar-toggle" 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="navbar-brand" href="{{ pathto(master_doc) }}">
|
|
{%- block sidebarlogo %}
|
|
{%- if logo %}<span><img src="{{ pathto('_static/' + logo, 1) }}"></span>{%- endif %}
|
|
{%- endblock %}
|
|
{% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}
|
|
</a>
|
|
<span class="navbar-text navbar-version pull-left">
|
|
<a href="https://github.com/instaloader/instaloader/releases/tag/v{{current_release}}" title="Released on {{current_release_date}}">v<b>{{current_release}}</b></a>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse nav-collapse">
|
|
<ul class="nav navbar-nav">
|
|
{% 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 and pagename not in ("index", "genindex", "installation") %}
|
|
{% include "navbartoc.html" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% if theme_navbar_sidebarrel %}
|
|
{% block sidebarrel %}
|
|
{% include "relations.html" %}
|
|
{% endblock %}
|
|
{% endif %}
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a role="button" id="dLabelUsefulLinks" data-toggle="dropdown" data-target="#" href="#">
|
|
Useful Links
|
|
<b class="caret"></b>
|
|
</a>
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabelUsefulLinks">
|
|
<li><a href="https://github.com/instaloader/instaloader/issues">Issue Tracker</a></li>
|
|
<li><a href="https://github.com/instaloader/instaloader/releases">Version History</a></li>
|
|
<li><a href="https://pypi.org/project/instaloader/">Instaloader on PyPI</a></li>
|
|
<li><a href="https://github.com/instaloader/instaloader">Instaloader on GitHub</a></li>
|
|
<li role="separator" class="divider"></li>
|
|
<li style="padding-left: 20px;"><a class="github-button" href="https://github.com/instaloader/instaloader" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Instaloader on GitHub">Star</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|