summaryrefslogtreecommitdiff
path: root/_includes/head.liquid
blob: 5bac44f169c4d1e890783d63cda6416526b94aa8 (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
<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:site_name" content="53hornet"/>
<meta property="og:description" content="{{ page.excerpt | truncatewords: 50 | strip_html }}"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ page.title }}"/>
<meta property="og:url" content="{{ "https://53hor.net/" | append: page.permalink }}"/>
<meta property="og:image" content="https://53hor.net/public/images/logo_diag.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 %}

{% if page.tags %}
    {% for tag in page.tags %}
        <meta property="og:article:tag" content="{{ tag }}"/>
    {% endfor %}
{% endif %}