Skip to content

Commit

Permalink
update page title for command news
Browse files Browse the repository at this point in the history
CPCN-210
  • Loading branch information
petrjasek committed Jun 29, 2023
1 parent 13a0c5d commit 31d069a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion server/theme/base_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>CP NewsPro</title>
{% if get_locale() == "fr_CA" %}
<title>PC NouvellesPro pour RP</title>
{% else %}
<title>CP NewsPro for PR</title>
{% endif %}

<link href="https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,500,700,900&display=swap" rel="stylesheet">
Expand Down
4 changes: 2 additions & 2 deletions server/theme/logo.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="navbar__logo">
<a href="{{ url_for('wire.index') }}" class="me-2">
{% if get_locale() == "en" %}
<h1 class="a11y-only">The Canadian Press</h1>
<h1 class="a11y-only">CP NewsPro for PR</h1>
<img src="{{ theme_url('logo.svg') }}" alt="The Canadian Press" aria-hidden="true" />
{% else %}
<h1 class="a11y-only">La Presse Canadienne</h1>
<h1 class="a11y-only">PC NouvellesPro pour RP</h1>
<img src="{{ theme_url('logo-fr.svg') }}" class="navbar__logo--fr" alt="La Presse Canadienne" aria-hidden="true" />
{% endif %}
</a>
Expand Down

0 comments on commit 31d069a

Please sign in to comment.