summaryrefslogtreecommitdiffstats
path: root/docs/_esnet/templates/relations.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_esnet/templates/relations.html')
-rw-r--r--docs/_esnet/templates/relations.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/_esnet/templates/relations.html b/docs/_esnet/templates/relations.html
new file mode 100644
index 0000000..e85b69c
--- /dev/null
+++ b/docs/_esnet/templates/relations.html
@@ -0,0 +1,21 @@
+{# 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 }}">
+ <span class="glyphicon glyphicon-chevron-left"></span>
+ <span class="hidden-sm">
+ {{ prev.title|striptags|truncate(length=16, killwords=True) }}
+ </span>
+ </a>
+ </li>
+{%- endif %}
+{%- if next %}
+ <li>
+ <a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
+ <span class="hidden-sm">
+ {{ next.title|striptags|truncate(length=16, killwords=True) }}
+ </span>
+ <span class="glyphicon glyphicon-chevron-right"></span>
+ </a>
+ </li>
+{%- endif %}