Added Twitter cards

This commit is contained in:
Eduard Urbach 2017-11-21 15:30:30 +01:00
parent f6420ed0df
commit 5fd3af32f0

View File

@ -11,6 +11,8 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A") meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
if openGraph != nil if openGraph != nil
meta(name="twitter:card", content="summary")
for _, name := range meta for _, name := range meta
meta(name=name, content=openGraph.Meta[name]) meta(name=name, content=openGraph.Meta[name])