You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current basic HTML templates don't allow full control over the title of the document. You get "title -- docstitle" whether you want it or not:
{%- if not embedded %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
<title>{{ title|striptags }}{{ titlesuffix }}</title>
For single documents with one title, you get your title repeated twice and can't really do anything. It would be nice if the <title> element was in a block so you could override it:
{% block htmltitle %}
{%- if not embedded %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
<title>{{ title|striptags }}{{ titlesuffix }}</title>
{% block htmltitle %}
The current basic HTML templates don't allow full control over the title of the document. You get "title -- docstitle" whether you want it or not:
For single documents with one title, you get your title repeated twice and can't really do anything. It would be nice if the <title> element was in a block so you could override it:
The text was updated successfully, but these errors were encountered: