mirror of
https://github.com/documize/community.git
synced 2025-07-21 22:29:41 +02:00
Remove "| Documize" suffice from browser title when viewing doc
This helps to improve print/pdf rendering.
This commit is contained in:
parent
a3157749f0
commit
b1d677778b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
||||||
|
|
||||||
model() {
|
model() {
|
||||||
let document = this.modelFor('document').document;
|
let document = this.modelFor('document').document;
|
||||||
this.browser.setTitle(document.get('name'));
|
this.browser.setTitleWithoutSuffix(document.get('name'));
|
||||||
this.browser.setMetaDescription(document.get('excerpt'));
|
this.browser.setMetaDescription(document.get('excerpt'));
|
||||||
|
|
||||||
return hash({
|
return hash({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue