mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-25 16:19:04 +01:00
Support custom document title
This commit is contained in:
parent
ffe3404a2a
commit
9d0ec9e348
@ -159,7 +159,7 @@ export default {
|
||||
}
|
||||
this.config = merge(defaults, config);
|
||||
this.services = this.config.services;
|
||||
document.title = `${this.config.title} | ${this.config.subtitle}`;
|
||||
document.title = this.config.documentTitle || `${this.config.title} | ${this.config.subtitle}`;
|
||||
if (this.config.stylesheet) {
|
||||
let stylesheet = "";
|
||||
for (const file of this.config.stylesheet) {
|
||||
|
Loading…
Reference in New Issue
Block a user