Pagination trails
{% if paginator.page_trail %}
<ul class="pager">
{% for trail in paginator.page_trail %}
<li {% if page.url == trail.path %}class="selected"{% endif %}>
<a href="{{ trail.path }}" title="{{ trail.title }}">{{ trail.num }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
There’s an enhanced pagination trail at the bottom-left of this slide. The appearance is dictated by the trail
properties:
paginate_content:
trail:
before: 2
after: 3