<h4 class="sidebar-box-heading">{{ _('Navigation') }}</h4>
<div class="well sidebar-box">
    <ul class="nav nav-list">
        <li><a href="{{ pathto(master_doc) }}">Documentation Home</a></li>
        {% if prev %}
        <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>
        {% endif %}
        {% if next %}
        <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>
        {% endif %}
    </ul>
</div>
