Add Viewport Meta in header

This commit is contained in:
Thomas 2019-09-07 18:52:27 +02:00
parent c7339d2126
commit 200dc4b4d1

View file

@ -33,7 +33,7 @@ proc renderMain*(body: VNode; prefs: Prefs; title="Nitter"; titleText=""; desc="
text titleText & " | " & title text titleText & " | " & title
else: else:
text title text title
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(property="og:type", content=`type`) meta(property="og:type", content=`type`)
meta(property="og:title", content=titleText) meta(property="og:title", content=titleText)
meta(property="og:description", content=desc) meta(property="og:description", content=desc)