diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-07-14 22:12:25 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-07-14 22:12:25 +0200 |
commit | 4e5a34cfa92333784663b9bb5a07e4096a62e2b4 (patch) | |
tree | 5e66a39f93ed86d2799b37ebd8a6e3d40d93ac3e /_includes/head.html | |
parent | 64b4ef0ed823005fb083e8e69dc5f10f80ef16fb (diff) |
Add twitter summary support
Diffstat (limited to '_includes/head.html')
-rw-r--r-- | _includes/head.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/_includes/head.html b/_includes/head.html index 3df323b..9bf7bdc 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -16,4 +16,11 @@ <link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png"> <link rel="icon" type="image/png" href="/assets/icons/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/icons/favicon-16x16.png" sizes="16x16"> + + {% if page.twitter %} + <meta name="twitter:card" content="summary" /> + <meta name="twitter:site" content="@noahloomans" /> + <meta name="twitter:title" content="{{ page.twitter.title }}" /> + <meta name="twitter:description" content="{{ page.twitter.description }}" /> + {% endif %} </head> |