From 9d0ec9e34832afed3cd951f1f7c26bf20823a7cf Mon Sep 17 00:00:00 2001 From: Tom Pansino <2768420+tpansino@users.noreply.github.com> Date: Mon, 10 Aug 2020 17:40:52 -0700 Subject: Support custom document title --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index eb132d0..0f137b9 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) { -- cgit v1.2.3 From a02961b70b8581cf66ff777f58a9892da0bba87a Mon Sep 17 00:00:00 2001 From: Tom Pansino <2768420+tpansino@users.noreply.github.com> Date: Fri, 4 Sep 2020 16:09:43 -0700 Subject: Add documentTitle example to documentation --- docs/configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/configuration.md b/docs/configuration.md index d1c8e6b..0e5d002 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" -- cgit v1.2.3