Skip to content

Commit

Permalink
Merge pull request #724 from ChrisiPK/patch-1
Browse files Browse the repository at this point in the history
Invert order of title components
  • Loading branch information
Mario Manno authored Nov 21, 2023
2 parents c4e7039 + d058aa9 commit 3c95f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/frontend/frontend.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
%head
= render 'frontend/shared/header'
%title
= t('custom.title')
- if content_for?(:title)
= yield :title
- else
= @event.try(:title) || @conference.try(:title)
= t('custom.title')

= yield :head

Expand Down
2 changes: 1 addition & 1 deletion config/locales/custom.en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
en:
custom:
title: media.ccc.de -
title: '- media.ccc.de'
news_title: media.ccc.de - NEWS
rss:
title:
Expand Down

0 comments on commit 3c95f27

Please sign in to comment.