From: sylv Date: Sun, 3 May 2020 09:30:32 +0000 (+0200) Subject: app.js: html title based on configuration X-Git-Tag: 120405250~2^2 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=5530707ba28f0e2b04d2bc4aeedcca172025c849 app.js: html title based on configuration Use the title and subtitle defined in the configuration file as html title. Signed-off-by: sylv --- 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; }