Improve web preview

This commit is contained in:
Zed
2019-09-15 14:03:47 +02:00
parent 6237460f77
commit 2677782286
2 changed files with 3 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ proc renderMain*(body: VNode; prefs: Prefs; title="Nitter"; titleText=""; desc="
meta(property="og:type", content=`type`)
meta(property="og:title", content=titleText)
meta(property="og:description", content=desc)
meta(property="og:site_name", content="Twitter")
meta(property="og:site_name", content="Nitter")
for url in images:
meta(property="og:image", content=getPicUrl(url))