1{# Switch to icon instead of text in `sm` view size for BS3 only. #}
2{%- if prev %}
3  <li>
4    <a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
5      <span class="glyphicon glyphicon-chevron-left"></span>
6      <span class="hidden-sm">
7        {{ prev.title|striptags|truncate(length=16, killwords=True) }}
8      </span>
9    </a>
10  </li>
11{%- endif %}
12{%- if next %}
13  <li>
14    <a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
15      <span class="hidden-sm">
16        {{ next.title|striptags|truncate(length=16, killwords=True) }}
17      </span>
18      <span class="glyphicon glyphicon-chevron-right"></span>
19    </a>
20  </li>
21{%- endif %}
22