]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/App.vue
Support custom document title
[github/bastienwirtz/homer.git] / src / App.vue
index eb132d09e9cdb2c0683d1dad002c114abb9d7fd6..0f137b9eeb809d73c1d8014d534315363ab8590a 100644 (file)
@@ -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) {