summaryrefslogtreecommitdiff
path: root/_includes/head.liquid
blob: c01ee2c839c967db5586df56d4e3500bfe3fa747 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/public/css/styles.css">
<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/"  page.permalink }}"/>
<meta property="og:site_name" content="53hornet"/>
<meta property="og:type" content="article"/>

{% 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 %}

{% endif %}