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/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=26221ad30c9bcca833281e95ffd0b7484521f50e 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; }