diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-25 11:40:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 11:40:14 -0700 |
commit | 554fc76d750ef6a3516a2f1141ba575fb2563a19 (patch) | |
tree | 48fa28b9da870c56d589cb1c0af1abe77ea06446 /app.js | |
parent | 0d6a177bae29d74c9e91569947bcb48977c8e03d (diff) | |
parent | 5530707ba28f0e2b04d2bc4aeedcca172025c849 (diff) | |
download | homer-554fc76d750ef6a3516a2f1141ba575fb2563a19.tar.gz homer-554fc76d750ef6a3516a2f1141ba575fb2563a19.tar.zst homer-554fc76d750ef6a3516a2f1141ba575fb2563a19.zip |
Merge pull request #60 from sylv-io/html-title
app.js: html title based on configuration
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ const app = new Vue({ | |||
21 | this.checkOffline(); | 21 | this.checkOffline(); |
22 | try { | 22 | try { |
23 | this.config = await this.getConfig(); | 23 | this.config = await this.getConfig(); |
24 | document.title = this.config.title + ' | Homer'; | 24 | document.title = this.config.title + ' | ' + this.config.subtitle; |
25 | } catch (error) { | 25 | } catch (error) { |
26 | this.offline = true; | 26 | this.offline = true; |
27 | } | 27 | } |