From 2c6cabb4abe79166ce9973d8652fb213c1b0c5a2 Mon Sep 17 00:00:00 2001 From: 110Percent <110percent@riseup.net> Date: Mon, 10 Aug 2020 13:06:27 -0400 Subject: [PATCH] Add image card for better third-party embedding --- src/views/general.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/general.nim b/src/views/general.nim index 569788c..8ed76cb 100644 --- a/src/views/general.nim +++ b/src/views/general.nim @@ -77,6 +77,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video=""; for url in images: meta(property="og:image", content=getPicUrl(url)) + meta(property="twitter:card", content="summary_large_image") if video.len > 0: meta(property="og:video:url", content=video)