Merge pull request #60 from sylv-io/html-title

app.js: html title based on configuration
This commit is contained in:
Bastien Wirtz 2020-05-25 11:40:14 -07:00 committed by GitHub
commit 554fc76d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.js
View File

@ -21,7 +21,7 @@ const app = new Vue({
this.checkOffline();
try {
this.config = await this.getConfig();
document.title = this.config.title + ' | Homer';
document.title = this.config.title + ' | ' + this.config.subtitle;
} catch (error) {
this.offline = true;
}