2016-02-16 15:10:33 +03:00
|
|
|
<nav aria-label="Navigation">
|
2016-02-04 17:03:20 +03:00
|
|
|
<a href="{{ repo_url }}" class="project">
|
2016-01-29 01:27:15 +03:00
|
|
|
<div class="banner">
|
2016-02-04 17:03:20 +03:00
|
|
|
{% if config.extra.logo %}
|
|
|
|
<div class="logo">
|
2016-02-09 23:59:37 +03:00
|
|
|
<img src="{{ base_url }}/{{ config.extra.logo }}">
|
2016-02-04 17:03:20 +03:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +03:00
|
|
|
<div class="name">
|
2016-02-04 17:03:20 +03:00
|
|
|
<strong>{{ site_name }} {{ config.extra.version }}</strong>
|
|
|
|
{% if repo_id %}
|
|
|
|
<br>
|
|
|
|
{{ repo_id }}
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<div class="scrollable">
|
|
|
|
<div class="wrapper">
|
|
|
|
{% if repo_name == 'GitHub' %}
|
|
|
|
<ul class="repo">
|
|
|
|
<li class="repo-download">
|
2016-02-13 19:24:16 +03:00
|
|
|
{% set version = config.extra.version | default('master') %}
|
2016-02-16 17:51:07 +03:00
|
|
|
<a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank" title="Download {{ site_name }} from GitHub" data-action="download">
|
2016-01-29 01:27:15 +03:00
|
|
|
<i class="icon icon-download"></i> Download
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="repo-stars">
|
2016-02-16 17:51:07 +03:00
|
|
|
<a href="{{ repo_url }}" target="_blank" title="Star {{ site_name }} on GitHub" data-action="star">
|
2016-01-29 01:27:15 +03:00
|
|
|
<i class="icon icon-star"></i> Star
|
|
|
|
<span class="count">–</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-02-04 17:03:20 +03:00
|
|
|
<hr>
|
2016-01-29 01:27:15 +03:00
|
|
|
{% endif %}
|
2016-02-16 16:49:37 +03:00
|
|
|
<div class="toc">
|
|
|
|
<ul>
|
|
|
|
{% for nav_item in nav %}
|
|
|
|
{% include "nav.html" %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2016-02-04 17:03:20 +03:00
|
|
|
{% if config.extra.author %}
|
2016-02-16 16:49:37 +03:00
|
|
|
<hr>
|
|
|
|
<span class="section">The author</span>
|
|
|
|
<ul>
|
|
|
|
{% if config.extra.author.twitter %}
|
|
|
|
{% set author = config.extra.author.twitter %}
|
|
|
|
<li>
|
|
|
|
<a href="https://twitter.com/{{ author }}" target="_blank" title="@{{ author }} on Twitter">
|
|
|
|
@{{ author }} on Twitter
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if config.extra.author.github %}
|
|
|
|
{% set author = config.extra.author.github %}
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/{{ author }}" target="_blank" title="@{{ author }} on GitHub">
|
|
|
|
@{{ author }} on GitHub
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2016-01-29 01:27:15 +03:00
|
|
|
{% endif %}
|
2016-02-16 16:49:37 +03:00
|
|
|
</div>
|
2016-01-29 01:27:15 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|