]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Merge pull request #60 from sylv-io/html-title
authorBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 25 May 2020 18:40:14 +0000 (11:40 -0700)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 18:40:14 +0000 (11:40 -0700)
app.js: html title based on configuration

app.js

diff --git a/app.js b/app.js
index e79611069f9d779d4a09e969157ec805b0c24628..9e6bdd9a12d813efec730f25613701cb41a45389 100644 (file)
--- a/app.js
+++ b/app.js
@@ -21,7 +21,7 @@ const app = new Vue({
         this.checkOffline();
         try {
             this.config =  await this.getConfig();
-            document.title = this.config.title + ' | Homer';
+            document.title = this.config.title + ' | ' + this.config.subtitle;
         } catch (error) {
             this.offline = true;
         }