Updated _layout.njk

Use "summary_large_image" type for Twitter Cards.
This commit is contained in:
Bobby Wibowo 2019-09-19 20:54:27 +07:00
parent e22c180edd
commit 8f809e6cd5
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -48,7 +48,7 @@
<meta property="og:locale" content="en_US" /> <meta property="og:locale" content="en_US" />
<!-- Twitter Card tags --> <!-- Twitter Card tags -->
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ title }}"> <meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ metaDesc or globals.description }}"> <meta name="twitter:description" content="{{ metaDesc or globals.description }}">
{%- if metaImage %} {%- if metaImage %}