mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-02 11:40:11 +00:00
Reintroduce space around delimiter in html title for better readability
This commit is contained in:
parent
81ec41328d
commit
16f8a6c914
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue