Page titles
Pages should update document.title
:
- List:
t('pagetitle.accessionList')
- Accession details page:
t('pagetitle.accession', { accessionNumber: accession.accessionNumber })
- Shopping cart:
t('pagetitle.cart', { count: howmany })
- Overview:
t('pagetitle.overview', { count: howmany })
Bring the PageTitle
component from Genesys (and helmet?).
Add a new toplevel configuration option title: string = 'Genesys | '
that will be used as a prefix: document.title = trim(appConfig.title + ' ' + title)
.
Edited by Matija Obreza