Improved twitter card tag

This commit is contained in:
Eduard Urbach 2018-04-16 17:58:53 +02:00
parent ef41a1aa26
commit f2a3739581

View File

@ -13,7 +13,10 @@ 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") if tags["og:video"] != ""
meta(name="twitter:card", content="player")
else
meta(name="twitter:card", content="summary")
//- Color of the embed sidebar in Discord.. //- Color of the embed sidebar in Discord..
//- This is equal to link-color in the styles. //- This is equal to link-color in the styles.