mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-15 20:59:49 +01:00
Support custom document title
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user