Add tweet page titles

Fixes #124
This commit is contained in:
Zed
2020-03-29 09:15:05 +02:00
parent ed79ed25a7
commit 8a11b5a167
2 changed files with 4 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ proc createStatusRouter*(cfg: Config) =
resp Http404, showError(error, cfg)
var
title = pageTitle(conversation.tweet.profile)
title = pageTitle(conversation.tweet)
desc = conversation.tweet.text
images = conversation.tweet.photos
video = ""