aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/configuration.md1
-rw-r--r--src/App.vue2
2 files changed, 2 insertions, 1 deletions
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`
13 13
14title: "App dashboard" 14title: "App dashboard"
15subtitle: "Homer" 15subtitle: "Homer"
16# documentTitle: "Welcome" # Customize the browser tab text
16logo: "assets/logo.png" 17logo: "assets/logo.png"
17# Alternatively a fa icon can be provided: 18# Alternatively a fa icon can be provided:
18# icon: "fas fa-skull-crossbones" 19# icon: "fas fa-skull-crossbones"
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 {
159 } 159 }
160 this.config = merge(defaults, config); 160 this.config = merge(defaults, config);
161 this.services = this.config.services; 161 this.services = this.config.services;
162 document.title = `${this.config.title} | ${this.config.subtitle}`; 162 document.title = this.config.documentTitle || `${this.config.title} | ${this.config.subtitle}`;
163 if (this.config.stylesheet) { 163 if (this.config.stylesheet) {
164 let stylesheet = ""; 164 let stylesheet = "";
165 for (const file of this.config.stylesheet) { 165 for (const file of this.config.stylesheet) {