forked from extern/homer
Update <head/><title/> to 'title' defined in config.yml
This commit is contained in:
parent
46fd4f4da1
commit
26221ad30c
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
Block a user