mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Support more cards, even the undocumented ones
This commit is contained in:
parent
b4fe3d1f6a
commit
4d650fd33e
4 changed files with 42 additions and 22 deletions
|
|
@ -145,7 +145,7 @@ proc renderCardContent(card: Card): VNode =
|
|||
span(class="card-destination"): text card.dest
|
||||
|
||||
proc renderCard(card: Card; prefs: Prefs; path: string): VNode =
|
||||
const smallCards = {player, summary}
|
||||
const smallCards = {app, player, summary, storeLink}
|
||||
let large = if card.kind notin smallCards: " large" else: ""
|
||||
let url = replaceUrl(card.url, prefs)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue