diff --git a/themes/mongodb/pagenav.html b/themes/mongodb/pagenav.html index cee5a3fc723..066d9bb31b1 100644 --- a/themes/mongodb/pagenav.html +++ b/themes/mongodb/pagenav.html @@ -8,12 +8,12 @@

{% endif %} -{% if theme_project != 'about' %} +{% if theme_project == 'manual' %}
{{ _('Contents') }}
{% endif %} {{ toctree(maxdepth=-1,titles_only=1) }} -{% if theme_project != 'about' %} +{% if theme_project == 'manual' %}
{{ _('Index') }}
{% endif %}