mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 08:05:32 +00:00
Display profile bio in preview
This commit is contained in:
parent
1faf976d7c
commit
73cfc6979f
|
@ -54,6 +54,9 @@ proc pageTitle*(profile: Profile): string =
|
|||
&"{profile.fullname} (@{profile.username})"
|
||||
|
||||
proc pageDesc*(profile: Profile): string =
|
||||
if profile.bio.len > 0:
|
||||
stripHtml(profile.bio)
|
||||
else:
|
||||
"The latest tweets from " & profile.fullname
|
||||
|
||||
proc getJoinDate*(profile: Profile): string =
|
||||
|
|
Loading…
Reference in a new issue