mirror of https://github.com/bastienwirtz/homer
Do not append subtitle to document title when empty
parent
308deb95e0
commit
55ebf3283c
|
@ -186,7 +186,7 @@ export default {
|
||||||
|
|
||||||
document.title =
|
document.title =
|
||||||
this.config.documentTitle ||
|
this.config.documentTitle ||
|
||||||
`${this.config.title} | ${this.config.subtitle}`;
|
[this.config.title, this.config.subtitle].filter(Boolean).join(" | ");
|
||||||
if (this.config.stylesheet) {
|
if (this.config.stylesheet) {
|
||||||
let stylesheet = "";
|
let stylesheet = "";
|
||||||
let addtionnal_styles = this.config.stylesheet;
|
let addtionnal_styles = this.config.stylesheet;
|
||||||
|
|
Loading…
Reference in New Issue