diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.liquid | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/_includes/head.liquid b/_includes/head.liquid index 4f5313c..842572c 100644 --- a/_includes/head.liquid +++ b/_includes/head.liquid @@ -10,10 +10,17 @@ <meta property="og:url" content="{{ page.permalink }}"/> <meta property="og:site_name" content="53hornet"/> <meta property="og:type" content="article"/> -<meta property="article:published_time" content="{{ page.published_date }}"/> + +{% if page.published_date %} + <meta property="article:published_time" content="{{ page.published_date }}"/> +{% endif %} + <meta property="article:author" content="Adam Carpenter"/> -<meta property="article:section" content="{{ page.category }}"/> +<meta property="article:section" content="{{ page.categories }}"/> +{% if page.tags %} {% for tag in page.tags %} <meta property="article:tag" content="{{ tag }}"/> {% endfor %} + +{% endif %} |