1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-01-23 02:15:09 +00:00

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;