summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %}