mirror of https://github.com/bastienwirtz/homer
Merge pull request #60 from sylv-io/html-title
app.js: html title based on configurationpull/69/head
commit
554fc76d75
2
app.js
2
app.js
|
@ -21,7 +21,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';
|
document.title = this.config.title + ' | ' + this.config.subtitle;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.offline = true;
|
this.offline = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue