Skip to content

Commit

Permalink
UX: Add THEME_SITENAME as a suffix in <head>
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed Mar 19, 2024
1 parent aa76a90 commit 9cc8614
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions invenio_theme/templates/semantic-ui/invenio_theme/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
{%- endblock head_meta %}

{%- block head_title %}
{%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %}
<title>{{title}}</title>
<title>{%- if title %}{{title}} | {% endif -%}{{ _(config.THEME_SITENAME) or _('Invenio') }}</title>
{%- endblock head_title %}

{%- block head_links %}
Expand Down

0 comments on commit 9cc8614

Please sign in to comment.