diff --git a/components/open-graph.tpl b/components/open-graph.tpl index 8326d75..7d5dcc7 100644 --- a/components/open-graph.tpl +++ b/components/open-graph.tpl @@ -31,8 +31,13 @@ {% endif %} {% comment %}Open Graph description{% endcomment %} -{% if article %}{% assign description = article.description %}{% else %}{% assign description = page.description %}{% endif %} +{% if article %} + {% assign description = article.description %} +{% else %} + {% assign description = page.description %} +{% endif %} + {% if description != nil and description != '' %} - - + + {% endif %}