mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Revert og:title for tweets
This commit is contained in:
parent
2458a067ef
commit
240ce15651
2 changed files with 7 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
|
||||
var
|
||||
title = pageTitle(conversation.tweet)
|
||||
ogTitle = pageTitle(conversation.tweet.profile)
|
||||
desc = conversation.tweet.text
|
||||
images = conversation.tweet.photos
|
||||
video = ""
|
||||
|
|
@ -38,7 +39,8 @@ proc createStatusRouter*(cfg: Config) =
|
|||
video = getGifUrl(get(conversation.tweet.gif).url)
|
||||
|
||||
let html = renderConversation(conversation, prefs, getPath() & "#m")
|
||||
resp renderMain(html, request, cfg, title, desc, images=images, video=video)
|
||||
resp renderMain(html, request, cfg, title, desc,
|
||||
images=images, video=video, ogTitle=ogTitle)
|
||||
|
||||
get "/@name/@s/@id/@m/?@i?":
|
||||
cond @"s" in ["status", "statuses"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue