Support custom document title

This commit is contained in:
Tom Pansino 2020-08-10 17:40:52 -07:00
parent ffe3404a2a
commit 9d0ec9e348

View File

@ -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) {