mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Display profile bio in preview
This commit is contained in:
@@ -54,7 +54,10 @@ proc pageTitle*(profile: Profile): string =
|
|||||||
&"{profile.fullname} (@{profile.username})"
|
&"{profile.fullname} (@{profile.username})"
|
||||||
|
|
||||||
proc pageDesc*(profile: Profile): string =
|
proc pageDesc*(profile: Profile): string =
|
||||||
"The latest tweets from " & profile.fullname
|
if profile.bio.len > 0:
|
||||||
|
stripHtml(profile.bio)
|
||||||
|
else:
|
||||||
|
"The latest tweets from " & profile.fullname
|
||||||
|
|
||||||
proc getJoinDate*(profile: Profile): string =
|
proc getJoinDate*(profile: Profile): string =
|
||||||
profile.joinDate.format("'Joined' MMMM YYYY")
|
profile.joinDate.format("'Joined' MMMM YYYY")
|
||||||
|
|||||||
Reference in New Issue
Block a user