diff --git a/docs/configuration.md b/docs/configuration.md index d1c8e6bb0..0e5d00257 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -13,6 +13,7 @@ Title, icons, links, colors, and services can be configured in the `config.yml` title: "App dashboard" subtitle: "Homer" +# documentTitle: "Welcome" # Customize the browser tab text logo: "assets/logo.png" # Alternatively a fa icon can be provided: # icon: "fas fa-skull-crossbones" diff --git a/src/App.vue b/src/App.vue index eb132d09e..0f137b9ee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -159,7 +159,7 @@ export default { } this.config = merge(defaults, config); this.services = this.config.services; - document.title = `${this.config.title} | ${this.config.subtitle}`; + document.title = this.config.documentTitle || `${this.config.title} | ${this.config.subtitle}`; if (this.config.stylesheet) { let stylesheet = ""; for (const file of this.config.stylesheet) {