mirror of
https://github.com/bastienwirtz/homer.git
synced 2026-07-20 18:18:48 +00:00
Merge pull request #22 from traeblain/feature-title
Update <head/><title/> to 'title' defined in config.yml
This commit is contained in:
commit
9488d4304d
1 changed files with 1 additions and 0 deletions
1
app.js
1
app.js
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue