From 9cc8614001cf0d2ed17880f4f6d16a0a6e9dfee0 Mon Sep 17 00:00:00 2001 From: Carlin MacKenzie Date: Tue, 19 Mar 2024 16:08:53 +0100 Subject: [PATCH] UX: Add THEME_SITENAME as a suffix in --- invenio_theme/templates/semantic-ui/invenio_theme/page.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/page.html b/invenio_theme/templates/semantic-ui/invenio_theme/page.html index 5f5f3707..9bbb65d1 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/page.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/page.html @@ -26,8 +26,7 @@ {%- endblock head_meta %} {%- block head_title %} - {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} - {{title}} + {%- if title %}{{title}} | {% endif -%}{{ _(config.THEME_SITENAME) or _('Invenio') }} {%- endblock head_title %} {%- block head_links %}