{% extends "!layout.html" %} {# Sphinx titles a page as its heading followed by the site's title. On the landing page those are the same string, which rendered as the project name twice. Suppress the suffix in exactly that case, so a tab reads "designspace" there and "Declaring a space - designspace" everywhere else. #} {% block htmltitle %} {%- if title|striptags|e == docstitle|e %}