Reintroduce space around delimiter in html title for better readability

This commit is contained in:
Nachtalb 2022-07-02 23:38:54 +02:00
parent 81ec41328d
commit 16f8a6c914

View file

@ -42,7 +42,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
var theme = prefs.theme.toTheme
if "theme" in req.params:
theme = req.params["theme"].toTheme
let ogType =
if video.len > 0: "video"
elif rss.len > 0: "object"
@ -81,7 +81,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
title:
if titleText.len > 0:
text &"{titleText}|{cfg.title}"
text &"{titleText} | {cfg.title}"
else:
text cfg.title