diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-09-05 10:08:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 10:08:58 -0700 |
commit | f2eacfcba14e34511dac565889cf22ebcd3e8125 (patch) | |
tree | e77fd5f664924b9bf34b7f0ab82ab0d6afb10d4e /src/App.vue | |
parent | ffe3404a2a9b36d69e880baa224375e82e64ae54 (diff) | |
parent | a02961b70b8581cf66ff777f58a9892da0bba87a (diff) | |
download | homer-f2eacfcba14e34511dac565889cf22ebcd3e8125.tar.gz homer-f2eacfcba14e34511dac565889cf22ebcd3e8125.tar.zst homer-f2eacfcba14e34511dac565889cf22ebcd3e8125.zip |
Merge pull request #120 from tpansino/feature/custom-document-titlev20.09.1
Feature/custom document title
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 2 |
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) { |