summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-10-25 19:44:52 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-10-25 19:44:52 -0400
commitcdf30d695bde196bd03c3e2c0731712529b9232f (patch)
treee6ce70f56b9006c484c6d3d7797d386a498ae585 /_includes
parent0cc8506e85fe5d199694133debc92106a986e25b (diff)
downloadcobalt-site-cdf30d695bde196bd03c3e2c0731712529b9232f.tar.xz
cobalt-site-cdf30d695bde196bd03c3e2c0731712529b9232f.zip
OGP
Diffstat (limited to '_includes')
-rw-r--r--_includes/head.liquid20
1 files changed, 9 insertions, 11 deletions
diff --git a/_includes/head.liquid b/_includes/head.liquid
index fa779b4..0bff123 100644
--- a/_includes/head.liquid
+++ b/_includes/head.liquid
@@ -4,23 +4,21 @@
<title>{{ page.title }}</title>
<!-- Open Graph Protocol -->
-<meta property="og:title" content="{{ page.title }}"/>
-<meta property="og:description" content="{{ page.excerpt | truncatewords: 50 }}"/>
-<meta property="og:image" content="https://53hor.net/public/images/logo.png"/>
-<meta property="og:url" content="{{ "https://53hor.net/" | append: page.permalink }}"/>
<meta property="og:site_name" content="53hornet"/>
<meta property="og:type" content="article"/>
+<meta property="og:title" content="{{ page.title }}"/>
+<meta property="og:description" content="{{ page.content | truncatewords: 50 }}"/>
+<meta property="og:url" content="{{ "https://53hor.net/" | append: page.permalink }}"/>
+<meta property="og:image" content="https://53hor.net/public/images/logo.png"/>
+<meta property="og:article:author" content="Adam Carpenter"/>
+<meta property="og:article:section" content="{{ page.categories }}"/>
{% if page.published_date %}
<meta property="og:article:published_time" content="{{ page.published_date }}"/>
{% endif %}
-<meta property="og:article:author" content="Adam Carpenter"/>
-<meta property="og:article:section" content="{{ page.categories }}"/>
-
{% if page.tags %}
-{% for tag in page.tags %}
- <meta property="og:article:tag" content="{{ tag }}"/>
-{% endfor %}
-
+ {% for tag in page.tags %}
+ <meta property="og:article:tag" content="{{ tag }}"/>
+ {% endfor %}
{% endif %}