mirror of https://github.com/bastienwirtz/homer
Merge pull request #22 from traeblain/feature-title
Update <head/><title/> to 'title' defined in config.ymlpull/36/head
commit
9488d4304d
1
app.js
1
app.js
|
@ -20,6 +20,7 @@ const app = new Vue({
|
||||||
this.checkOffline();
|
this.checkOffline();
|
||||||
try {
|
try {
|
||||||
this.config = await this.getConfig();
|
this.config = await this.getConfig();
|
||||||
|
document.title = this.config.title + ' | Homer';
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.offline = true;
|
this.offline = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue