1
0
mirror of https://github.com/flarum/core.git synced 2025-07-12 04:16:24 +02:00

Add index page title, add mechanism to clear title from defaultRoute. (#2047)

* Add "All Descriptions title to index

* Added system to clear custom title if we're on the default route
This commit is contained in:
Alexander Skvortsov
2020-06-27 14:18:49 -04:00
committed by GitHub
parent 0c645a6c15
commit a33fbbf814
5 changed files with 22 additions and 6 deletions

View File

@ -79,7 +79,7 @@ export default class IndexPage extends Page {
extend(context, 'onunload', () => $('#app').css('min-height', ''));
app.setTitle('');
app.setTitle(app.translator.trans('core.forum.index.meta_title_text'));
app.setTitleCount(0);
// Work out the difference between the height of this hero and that of the