From 68a20711d094c4c6c40d1c92314f51e0f493bb34 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Thu, 17 Dec 2015 14:44:35 +0800 Subject: [PATCH] fix(template): avoid extra meta for non-post page --- .../themes/curtana/includes/open-graph.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/_app/_includes/themes/curtana/includes/open-graph.html b/_app/_includes/themes/curtana/includes/open-graph.html index 3f11fbf9b..08e9cd88c 100644 --- a/_app/_includes/themes/curtana/includes/open-graph.html +++ b/_app/_includes/themes/curtana/includes/open-graph.html @@ -7,17 +7,21 @@ - - - - - - + +{% if page.path contains '_posts' %} + + + + + + + +{% endif %} {% if site.twitter %}