Skip to content
Snippets Groups Projects
Commit 2c6cabb4 authored by 110Percent's avatar 110Percent Committed by Zed
Browse files

Add image card for better third-party embedding

parent 75fea828
No related branches found
No related tags found
No related merge requests found
Pipeline #1808 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment