diff options
author | Adam Carpenter <gitlab@53hor.net> | 2019-10-25 19:32:43 -0400 |
---|---|---|
committer | Adam Carpenter <gitlab@53hor.net> | 2019-10-25 19:32:43 -0400 |
commit | 8a259e29c0f685608946df1ac64c9746cb57e0f7 (patch) | |
tree | 1c0886f013ed68f6210dc023f4ec90552f4b058c /_includes | |
parent | f203d33ea1c6d261da0df5a0553bfad700b5c09b (diff) | |
download | cobalt-site-8a259e29c0f685608946df1ac64c9746cb57e0f7.tar.xz cobalt-site-8a259e29c0f685608946df1ac64c9746cb57e0f7.zip |
OGP
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 %} |