diff options
Diffstat (limited to '_layouts/default.html')
-rw-r--r-- | _layouts/default.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 485e975..b9ebf24 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,8 +7,10 @@ <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@boring_cactus" /> <meta name="twitter:title" content="{{ page.title }}" /> + <meta name="twitter:description" content="{% if page.description != nil %}{{ page.description }}{% else %}{{ page.excerpt | strip_html | strip }}{% endif %}" /> <meta property="og:url" content="{{ page.url | absolute_url }}" /> <meta property="og:title" content="{{ page.title }}" /> + <meta property="og:description" content="{% if page.description != nil %}{{ page.description }}{% else %}{{ page.excerpt | strip_html | strip }}{% endif %}" /> {% if page.url == "/" %} <meta property="og:type" content="website" /> <title>{{ page.title }}</title> |