aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTom Pansino <2768420+tpansino@users.noreply.github.com>2020-08-10 17:40:52 -0700
committerTom Pansino <2768420+tpansino@users.noreply.github.com>2020-09-04 16:07:20 -0700
commit9d0ec9e34832afed3cd951f1f7c26bf20823a7cf (patch)
tree1a6d26799c254b9faeb595665a0259a86820203d /src
parentffe3404a2a9b36d69e880baa224375e82e64ae54 (diff)
downloadhomer-9d0ec9e34832afed3cd951f1f7c26bf20823a7cf.tar.gz
homer-9d0ec9e34832afed3cd951f1f7c26bf20823a7cf.tar.zst
homer-9d0ec9e34832afed3cd951f1f7c26bf20823a7cf.zip
Support custom document title
Diffstat (limited to 'src')
-rw-r--r--src/App.vue2
1 files changed, 1 insertions, 1 deletions
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) {