mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Reduce usage of strformat, minor perf improvement
This commit is contained in:
parent
92a6eb0339
commit
85316f8f8d
6 changed files with 37 additions and 32 deletions
|
|
@ -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