2016-02-04 17:03:20 +03:00
|
|
|
{% if repo_name == 'GitHub' %}
|
|
|
|
{% set repo_id = repo_url | replace('https://github.com/', '') %}
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +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">
|
|
|
|
<img src="{{ config.extra.logo }}">
|
|
|
|
</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-04 17:03:20 +03:00
|
|
|
<a href="https://github.com/{{ repo_id }}/archive/master.zip" target="_blank" aria-label="Download {{ repo_id }} on GitHub">
|
2016-01-29 01:27:15 +03:00
|
|
|
<i class="icon icon-download"></i> Download
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="repo-stars">
|
2016-02-04 17:03:20 +03:00
|
|
|
<a href="https://github.com/{{ repo_id }}" target="_blank" aria-label="Star {{ repo_id }} on GitHub">
|
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 %}
|
|
|
|
<ul class="toc">
|
|
|
|
{% for nav_item in nav %}
|
|
|
|
{% include "toc.html" %}
|
|
|
|
{% endfor %}
|
2016-02-04 17:03:20 +03:00
|
|
|
{% if config.extra.author %}
|
2016-01-29 01:27:15 +03:00
|
|
|
<li>
|
2016-02-04 17:03:20 +03:00
|
|
|
<hr>
|
2016-01-29 01:27:15 +03:00
|
|
|
<span class="section">The author</span>
|
|
|
|
<ul>
|
|
|
|
{% if config.extra.author.twitter %}
|
|
|
|
<li>
|
2016-02-04 17:03:20 +03:00
|
|
|
<a href="https://twitter.com/{{ config.extra.author.twitter }}" title="@{{ config.extra.author.twitter }} on Twitter" target="_blank">
|
2016-01-29 01:27:15 +03:00
|
|
|
@{{ config.extra.author.twitter }} on Twitter
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if config.extra.author.github %}
|
|
|
|
<li>
|
2016-02-04 17:03:20 +03:00
|
|
|
<a href="https://github.com/{{ config.extra.author.github }}" title="@{{ config.extra.author.twitter }} on GitHub" target="_blank">
|
2016-01-29 01:27:15 +03:00
|
|
|
@{{ config.extra.author.github }} on GitHub
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|