diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-03-17 21:54:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 21:54:32 -0700 |
commit | 9488d4304d511e651abb2bcf7cf0ea6f4cd3ffa3 (patch) | |
tree | daffeed32db76d1709ad27142e5dda22e28561d3 /app.js | |
parent | 46fd4f4da18ed505264181cfa8f6a776abef9e2f (diff) | |
parent | 26221ad30c9bcca833281e95ffd0b7484521f50e (diff) | |
download | homer-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
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | } |