| 1 | {# |
| 2 | cloud/quicklinks.html |
| 3 | ~~~~~~~~~~~~~~~~~~~ |
| 4 | Provides links mirroring the relbar, for use on pages such as the TOC and searchbox. |
| 5 | #} |
| 6 | <div class="sphinxquicklinks"> |
| 7 | <h3><a href="{{ pathto(master_doc) }}" |
| 8 | title="{{ sidebar_master_title|e or master_doc|title|e }}"> |
| 9 | {{ theme_sidebar_quicklinks_title or _('Quick Links') }} |
| 10 | </a></h3> |
| 11 | <ul> |
| 12 | {% block quicklinkslist %} |
| 13 | {% if theme_roottarget and theme_roottarget != master_doc %} |
| 14 | <li><a href="{{ pathto(theme_roottarget) }}" |
| 15 | title="{{ theme_sidebar_root_title|e or _("Front Page") }}"> |
| 16 | {{ theme_sidebar_root_title|e or _("Front Page") }}</a></li> |
| 17 | {% endif %} |
| 18 | {%- for entry in rellinks[::-1] %} |
| 19 | {# NOTE: entry is [page, title, key, label] #} |
| 20 | {% if entry[3] not in ["previous", "next"] %} |
| 21 | <li><a href="{{ pathto(entry[0]) }}" |
| 22 | title="{{ entry[1]|striptags|e }}">{{ entry[1]|e }}</a></li> |
| 23 | {% endif %} |
| 24 | {%- endfor %} |
| 25 | {% endblock %} |
| 26 | </ul> |
| 27 | </div> |