Merge pull request #22 from traeblain/feature-title

Update <head/><title/> to 'title' defined in config.yml
This commit is contained in:
Bastien Wirtz 2020-03-17 21:54:32 -07:00 committed by GitHub
commit 9488d4304d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
app.js
View File

@ -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;
}