diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/page.html b/invenio_theme/templates/semantic-ui/invenio_theme/page.html index 5f5f3707..90e6716d 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/page.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/page.html @@ -26,8 +26,9 @@ {%- endblock head_meta %} {%- block head_title %} - {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} - {{title}} + {% set sitename = _(config.THEME_SITENAME) or _('Invenio') %} + {% set show_title = title and title != sitename %} + {%- if show_title %}{{title}} | {% endif -%}{{ sitename }} {%- endblock head_title %} {%- block head_links %}