Do not append subtitle to document title when empty

pull/984/head
Igor Kulman 2025-08-24 18:13:20 +02:00 committed by Bastien Wirtz
parent 2df7d5947b
commit 63647e837a
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;