1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-14 09:42:12 -04:00

Use strformat more

This commit is contained in:
Zed
2022-06-04 02:18:26 +02:00
parent 6709f6f1b5
commit 21e8f04fa4
11 changed files with 38 additions and 37 deletions

View File

@@ -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