| 1 |
{% extends "!layout.html" %} |
| 2 |
|
| 3 |
{% block menu %} |
| 4 |
{{ super() }} |
| 5 |
|
| 6 |
{% if sidebar_external_links %} |
| 7 |
<p class="caption"> |
| 8 |
<span class="caption-text"> |
| 9 |
{% if sidebar_external_links_caption %} |
| 10 |
{{ sidebar_external_links_caption }} |
| 11 |
{% else %} |
| 12 |
External links |
| 13 |
{% endif %} |
| 14 |
</span> |
| 15 |
</p> |
| 16 |
<ul> |
| 17 |
{% for text, link in sidebar_external_links %} |
| 18 |
{% if hasdoc(link) %} |
| 19 |
<li class="toctree-l1"><a href="{{ pathto(link) }}">{{ text }}</a></li> |
| 20 |
{% else %} |
| 21 |
<li class="toctree-l1"><a href="{{ link }}">{{ text }}</a></li> |
| 22 |
{% endif %} |
| 23 |
{% endfor %} |
| 24 |
</ul> |
| 25 |
{% endif %} |
| 26 |
|
| 27 |
{% endblock %} |