Skip to content

Commit

Permalink
Fix : cp-dev instance has the wrong title appearing in browser tab [C…
Browse files Browse the repository at this point in the history
…PCN-481]
  • Loading branch information
devketanpro committed Nov 29, 2023
1 parent 3273bc2 commit 2ee16ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% if get_locale() == "fr_CA" %}
<title>PC NouvellesPro pour RP</title>
{% else %}
<title>CP NewsPro for PR</title>
<title>CP NewsPro</title>
{% endif %}
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion server/theme/logo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="navbar__logo">
<a href="{{ url_for('wire.index') }}" class="me-2">
{% if get_locale() == "en" %}
<h1 class="a11y-only">CP NewsPro for PR</h1>
<h1 class="a11y-only">CP NewsPro</h1>
<img src="{{ theme_url('logo.svg') }}" class="navbar__logo-img navbar__logo-img--en" alt="The Canadian Press" aria-hidden="true" />
{% else %}
<h1 class="a11y-only">PC NouvellesPro pour RP</h1>
Expand Down

0 comments on commit 2ee16ad

Please sign in to comment.