File: relations.html

package info (click to toggle)
jupyter-sphinx-theme 0.0.6%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 312 kB
  • ctags: 86
  • sloc: makefile: 173; python: 104; sh: 6
file content (19 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{# Switch to icon instead of text in `sm` view size for BS3 only. #}
{%- if prev %}
  <li>
    <a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
      {%- if theme_bootstrap_version == "2" -%}<span class="icon-chevron-left visible-tablet"></span>{%- endif -%}
      {%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-left visible-sm"></span>{%- endif -%}
      <span class="hidden-sm hidden-tablet">{{ "&laquo;"|safe }} {{ prev.title|striptags|truncate(length=26, killwords=True) }}</span>
    </a>
  </li>
{%- endif %}
{%- if next %}
  <li>
    <a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
      {%- if theme_bootstrap_version == "2" -%}<span class="icon-chevron-right visible-tablet"></span>{%- endif -%}
      {%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-right visible-sm"></span>{%- endif -%}
      <span class="hidden-sm hidden-tablet">{{ next.title|striptags|truncate(length=26, killwords=True) }} {{ "&raquo;"|safe }}</span>
    </a>
  </li>
{%- endif %}