diff options
author | Melody Horn <melody@boringcactus.com> | 2018-08-31 15:57:49 -0500 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2018-08-31 15:57:49 -0500 |
commit | c97f4e9d9d11efc777d2a15306d98e308c43cda5 (patch) | |
tree | ac3d83992a6a3185f21eae8f30e178b08531faa6 /_layouts/default.html | |
parent | ec88adb4bc05a85692b41cfc764c091c347ec991 (diff) | |
download | boringcactus.com-c97f4e9d9d11efc777d2a15306d98e308c43cda5.tar.gz boringcactus.com-c97f4e9d9d11efc777d2a15306d98e308c43cda5.zip |
Add (in theory) Twitter card metadata
Because why on Earth would everything use the same standard?
That'd be too easy.
Diffstat (limited to '_layouts/default.html')
-rw-r--r-- | _layouts/default.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 982510c..485e975 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,6 +4,9 @@ <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="{% if page.description != nil %}{{ page.description }}{% else %}{{ page.excerpt | strip_html | strip }}{% endif %}" /> + <meta name="twitter:card" content="summary" /> + <meta name="twitter:site" content="@boring_cactus" /> + <meta name="twitter:title" content="{{ page.title }}" /> <meta property="og:url" content="{{ page.url | absolute_url }}" /> <meta property="og:title" content="{{ page.title }}" /> {% if page.url == "/" %} |