aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-03-17 21:54:32 -0700
committerGitHub <noreply@github.com>2020-03-17 21:54:32 -0700
commit9488d4304d511e651abb2bcf7cf0ea6f4cd3ffa3 (patch)
treedaffeed32db76d1709ad27142e5dda22e28561d3
parent46fd4f4da18ed505264181cfa8f6a776abef9e2f (diff)
parent26221ad30c9bcca833281e95ffd0b7484521f50e (diff)
downloadhomer-9488d4304d511e651abb2bcf7cf0ea6f4cd3ffa3.tar.gz
homer-9488d4304d511e651abb2bcf7cf0ea6f4cd3ffa3.tar.zst
homer-9488d4304d511e651abb2bcf7cf0ea6f4cd3ffa3.zip
Merge pull request #22 from traeblain/feature-title
Update <head/><title/> to 'title' defined in config.yml
-rw-r--r--app.js1
1 files changed, 1 insertions, 0 deletions
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({
20 this.checkOffline(); 20 this.checkOffline();
21 try { 21 try {
22 this.config = await this.getConfig(); 22 this.config = await this.getConfig();
23 document.title = this.config.title + ' | Homer';
23 } catch (error) { 24 } catch (error) {
24 this.offline = true; 25 this.offline = true;
25 } 26 }