mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-10-26 07:46:19 +01:00
Do not append subtitle to document title when empty
This commit is contained in:
committed by
Bastien Wirtz
parent
2df7d5947b
commit
63647e837a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user