File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 2525#end proc
2626#
2727#proc getDescription(desc: string; cfg: Config): string =
28- Twitter feed for: ${desc}. Generated by ${cfg.hostname }
28+ Twitter feed for: ${desc}. Generated by ${getUrlPrefix( cfg) }
2929#end proc
3030#
3131#proc getTweetsWithPinned(profile: Profile): seq[Tweets] =
@@ -52,8 +52,18 @@ Twitter feed for: ${desc}. Generated by ${cfg.hostname}
5252#let text = replaceUrls(tweet.text, defaultPrefs, absolute=urlPrefix)
5353<p>${text.replace("\n", "<br>\n")}</p>
5454#if tweet.quote.isSome and get(tweet.quote).available:
55- # let quoteLink = getLink(get(tweet.quote))
56- <p><a href="${urlPrefix}${quoteLink}">${cfg.hostname}${quoteLink}</a></p>
55+ # let quoteTweet = get(tweet.quote)
56+ # let quoteLink = urlPrefix & getLink(quoteTweet)
57+ <hr/>
58+ <blockquote>
59+ <b>${quoteTweet.user.fullname} (@${quoteTweet.user.username})</b>
60+ <p>
61+ ${renderRssTweet(quoteTweet, cfg)}
62+ </p>
63+ <footer>
64+ — <cite><a href="${quoteLink}">${quoteLink}</a>
65+ </footer>
66+ </blockquote>
5767#end if
5868#if tweet.photos.len > 0:
5969# for photo in tweet.photos:
You can’t perform that action at this time.
0 commit comments