Fix parsing promo_video_convo cards

This commit is contained in:
Zed
2019-11-08 22:52:34 +01:00
parent 27c8c0a97a
commit f19443ed96
3 changed files with 5 additions and 1 deletions

View File

@@ -149,7 +149,8 @@ proc renderCardContent(card: Card): VNode =
span(class="card-destination"): text card.dest
proc renderCard(card: Card; prefs: Prefs; path: string): VNode =
const largeCards = {summaryLarge, liveEvent, promoWebsite, promoVideo}
const largeCards = {summaryLarge, liveEvent, promoWebsite,
promoVideo, promoVideoConvo}
let large = if card.kind in largeCards: " large" else: ""
let url = replaceUrl(card.url, prefs)