From 5530707ba28f0e2b04d2bc4aeedcca172025c849 Mon Sep 17 00:00:00 2001 From: sylv Date: Sun, 3 May 2020 11:30:32 +0200 Subject: app.js: html title based on configuration Use the title and subtitle defined in the configuration file as html title. Signed-off-by: sylv --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({ 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; } -- cgit v1.2.3