Skip to content

Commit

Permalink
Updated title in the layout file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolga Akin committed Apr 8, 2020
1 parent 20fe348 commit a56e7b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions newsroom/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
'newsroom.company_expiry_alerts',
]

SITE_NAME = 'CP Newshub'
COPYRIGHT_HOLDER = 'CP'
SITE_NAME = 'AAP Newsroom'
COPYRIGHT_HOLDER = 'AAP'
COPYRIGHT_NOTICE = ''
USAGE_TERMS = ''
CONTACT_ADDRESS = 'https://www.aap.com.au/contact/sales-inquiries/'
Expand Down Expand Up @@ -265,7 +265,8 @@
'display_abstract': DISPLAY_ABSTRACT,
'list_animations': True, # Enables or disables the animations for list item select boxes,
'display_news_only': True, # Displays news only switch in wire,
'default_timezone': DEFAULT_TIMEZONE
'default_timezone': DEFAULT_TIMEZONE,
'item_actions': {},
}

LANGUAGES = ['en', 'fi', 'cs', 'fr_CA']
Expand Down
4 changes: 2 additions & 2 deletions theme/base_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>{{ config.SITE_NAME }} - {% block title %}{% endblock %}</title>
<title>CP Newshub</title>

<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 Expand Up @@ -40,7 +40,7 @@
{% else %}
<div class="form-inline my-lg-0 ml-auto pr-2 pr-sm-3">
<div class="mr-3 d-none d-md-block">{{ get_date() | date_header }}</div>
<a class="nav-link" href="{{ url_for('auth.login') }}">{{ gettext('Login') }}</a>
<a class="nav-link" href="{{ url_for('auth.login') }}">{{ gettext('Login') }}</a>
</div>
{% endif %}
</nav>
Expand Down

0 comments on commit a56e7b8

Please sign in to comment.