2016-02-16 15:10:33 +03:00
|
|
|
<nav aria-label="Navigation">
|
2016-02-24 14:40:02 +03:00
|
|
|
{% set home = repo_url | default("/", true) %}
|
2016-02-21 19:32:36 +03:00
|
|
|
<a href="{{ home }}" 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-03-17 18:51:20 +03:00
|
|
|
<strong>
|
|
|
|
{{ site_name }}
|
|
|
|
<span class="version">
|
|
|
|
{{ config.extra.version }}
|
|
|
|
</span>
|
|
|
|
</strong>
|
2016-02-04 17:03:20 +03:00
|
|
|
{% if repo_id %}
|
|
|
|
<br>
|
|
|
|
{{ repo_id }}
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<div class="scrollable">
|
|
|
|
<div class="wrapper">
|
2016-02-24 14:40:02 +03:00
|
|
|
{% if repo_name == "GitHub" and repo_url %}
|
2016-01-29 01:27:15 +03:00
|
|
|
<ul class="repo">
|
|
|
|
<li class="repo-download">
|
2016-02-24 14:40:02 +03:00
|
|
|
{% set version = config.extra.version | default("master") %}
|
|
|
|
<a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank" title="Download" 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-24 14:40:02 +03:00
|
|
|
<a href="{{ repo_url }}/stargazers" target="_blank" title="Stargazers" data-action="star">
|
|
|
|
<i class="icon icon-star"></i> Stars
|
2016-01-29 01:27:15 +03:00
|
|
|
<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>
|
2016-03-17 18:51:20 +03:00
|
|
|
</nav>
|