Do not append subtitle to document title when empty

pull/974/head
Igor Kulman 2025-08-24 18:13:20 +02:00
parent 308deb95e0
commit 55ebf3283c
No known key found for this signature in database
GPG Key ID: 9D77BAA2C356DFA2
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ export default {
document.title =
this.config.documentTitle ||
`${this.config.title} | ${this.config.subtitle}`;
[this.config.title, this.config.subtitle].filter(Boolean).join(" | ");
if (this.config.stylesheet) {
let stylesheet = "";
let addtionnal_styles = this.config.stylesheet;