mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Add server config file
This commit is contained in:
parent
b10d894a11
commit
6a9d182249
8 changed files with 53 additions and 23 deletions
|
|
@ -69,10 +69,7 @@ proc getUserpic*(profile: Profile; style=""): string =
|
|||
getUserPic(profile.userpic, style)
|
||||
|
||||
proc pageTitle*(profile: Profile): string =
|
||||
&"{profile.fullname} (@{profile.username}) | Nitter"
|
||||
|
||||
proc pageTitle*(page: string): string =
|
||||
&"{page} | Nitter"
|
||||
&"{profile.fullname} (@{profile.username})"
|
||||
|
||||
proc getTime*(tweet: Tweet): string =
|
||||
tweet.time.format("d/M/yyyy', ' HH:mm:ss")
|
||||
|
|
|
|||
Loading…
Reference in a new issue