1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Remove "| Documize" suffice from browser title when viewing doc

This helps to improve print/pdf rendering.
This commit is contained in:
Harvey Kandola 2018-04-11 14:30:38 +01:00
parent a3157749f0
commit b1d677778b

View file

@ -35,7 +35,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
model() {
let document = this.modelFor('document').document;
this.browser.setTitle(document.get('name'));
this.browser.setTitleWithoutSuffix(document.get('name'));
this.browser.setMetaDescription(document.get('excerpt'));
return hash({