From: Trae Date: Thu, 12 Mar 2020 19:53:17 +0000 (-0500) Subject: Update to 'title' defined in config.yml X-Git-Tag: v1.0~4^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F22%2Fhead;p=github%2Fbastienwirtz%2Fhomer.git Update <head/><title/> to 'title' defined in config.yml --- diff --git a/app.js b/app.js index c35e4c7..21bdbb9 100644 --- a/app.js +++ b/app.js @@ -20,6 +20,7 @@ const app = new Vue({ this.checkOffline(); try { this.config = await this.getConfig(); + document.title = this.config.title + ' | Homer'; } catch (error) { this.offline = true; }