| 1 |
{% if theme_logo %} |
| 2 |
<p class="logo"> |
| 3 |
<a href="{{ pathto(master_doc) }}"> |
| 4 |
<img class="logo" src="{{ pathto('_static/' ~ theme_logo, 1) }}" alt="Logo"/> |
| 5 |
{% if theme_logo_name|lower == 'true' %} |
| 6 |
<h1 class="logo logo-name">{{ project }}</h1> |
| 7 |
{% endif %} |
| 8 |
</a> |
| 9 |
</p> |
| 10 |
{% else %} |
| 11 |
<h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1> |
| 12 |
{% endif %} |
| 13 |
|
| 14 |
{% if theme_description %} |
| 15 |
<p class="blurb">{{ theme_description }}</p> |
| 16 |
{% endif %} |
| 17 |
|
| 18 |
{% if theme_github_user and theme_github_repo %} |
| 19 |
{% if theme_github_button|lower == 'true' %} |
| 20 |
<p> |
| 21 |
<iframe src="https://ghbtns.com/github-btn.html?user={{ theme_github_user }}&repo={{ theme_github_repo }}&type=star&count={{ theme_github_count }}&size=large&v=2" |
| 22 |
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> |
| 23 |
<iframe src="https://ghbtns.com/github-btn.html?user={{ theme_github_user }}&repo={{ theme_github_repo }}&type=watch&count={{ theme_github_count }}&size=large&v=2" |
| 24 |
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> |
| 25 |
</p> |
| 26 |
{% endif %} |
| 27 |
{% endif %} |
| 28 |
|
| 29 |
{% if theme_travis_button|lower != 'false' %} |
| 30 |
{% if theme_travis_button|lower == 'true' %} |
| 31 |
{% set path = theme_github_user + '/' + theme_github_repo %} |
| 32 |
{% else %} |
| 33 |
{% set path = theme_travis_button %} |
| 34 |
{% endif %} |
| 35 |
<p> |
| 36 |
<a href="https://travis-ci.org/{{ path }}"> |
| 37 |
<img |
| 38 |
alt="https://secure.travis-ci.org/{{ path }}.svg?branch=master" |
| 39 |
src="https://secure.travis-ci.org/{{ path }}.svg?branch=master" |
| 40 |
/> |
| 41 |
</a> |
| 42 |
</p> |
| 43 |
{% endif %} |
| 44 |
|
| 45 |
{% if theme_codecov_button|lower != 'false' %} |
| 46 |
{% if theme_codecov_button|lower == 'true' %} |
| 47 |
{% set path = theme_github_user + '/' + theme_github_repo %} |
| 48 |
{% else %} |
| 49 |
{% set path = theme_codecov_button %} |
| 50 |
{% endif %} |
| 51 |
<p> |
| 52 |
<a href="https://codecov.io/github/{{ path }}"> |
| 53 |
<img |
| 54 |
alt="https://codecov.io/github/{{ path }}/coverage.svg?branch=master" |
| 55 |
src="https://codecov.io/github/{{ path }}/coverage.svg?branch=master" |
| 56 |
/> |
| 57 |
</a> |
| 58 |
</p> |
| 59 |
{% endif %} |