File: layout.html

package info (click to toggle)
poliastro 0.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,136 kB
  • sloc: python: 17,039; makefile: 172
file content (27 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "!layout.html" %}

{% block menu %}
    {{ super() }}

    {% if sidebar_external_links %}
        <p class="caption">
            <span class="caption-text">
            {% if sidebar_external_links_caption %}
                {{ sidebar_external_links_caption }}
            {% else %}
                External links
            {% endif %}
            </span>
        </p>
        <ul>
            {% for text, link in sidebar_external_links %}
                {% if hasdoc(link) %}
                    <li class="toctree-l1"><a href="{{ pathto(link) }}">{{ text }}</a></li>
                {% else %}
                    <li class="toctree-l1"><a href="{{ link }}">{{ text }}</a></li>
                {% endif %}
            {% endfor %}
        </ul>
    {% endif %}

{% endblock %}