{% if prev -%}
{{ _("Previous") }} {% if prev.link == pathto(root_doc) %}
{{ _("Home") }}
{% else %}
{{ prev.title }}
{% endif %}
{%- endif %} {% if next -%}
{{ _("Next") }}
{{ next.title }}
{%- endif %}