Add Viewport Meta in header
This commit is contained in:
parent
200dc4b4d1
commit
577fac5ea7
|
@ -33,6 +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(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)
|
||||||
|
|
Loading…
Reference in New Issue