aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-25 11:40:14 -0700
committerGitHub <noreply@github.com>2020-05-25 11:40:14 -0700
commit554fc76d750ef6a3516a2f1141ba575fb2563a19 (patch)
tree48fa28b9da870c56d589cb1c0af1abe77ea06446
parent0d6a177bae29d74c9e91569947bcb48977c8e03d (diff)
parent5530707ba28f0e2b04d2bc4aeedcca172025c849 (diff)
downloadhomer-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
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index e796110..9e6bdd9 100644
--- a/app.js
+++ b/app.js
@@ -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 }