Commit 2c6cabb4 authored by 110Percent's avatar 110Percent Committed by Zed
Browse files

Add image card for better third-party embedding

parent 75fea828
Pipeline #1808 passed with stage
in 9 minutes
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment