aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/default.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 535fc54..79284fb 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -12,7 +12,9 @@
<meta property="og:site_name" content="{{ site.title }}" />
<meta name="author" content="{{ site.author.name }}" />
<meta property="og:locale" content="{{ page.lang }}" />
- <meta property="og:title" content="{{ page.title | xml_escape }}" />
+ {% if page.title %}
+ <meta property="og:title" content="{{ page.title | xml_escape }}" />
+ {% endif %}
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />