Do not append subtitle to document title when empty

This commit is contained in:
Igor Kulman
2025-08-24 18:13:20 +02:00
committed by Bastien Wirtz
parent 2df7d5947b
commit 63647e837a

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;