aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
blob: d0d1319e61b20e38afd565685dc63f1245daa40d (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8" />

	<meta http-equiv="x-ua-compatible" content="ie=edge" />
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" />

	<meta name="theme-color" content="{{ site.theme_color }}" />
	<meta name="author" content="{{ site.author }}" />
	<meta name="description" content="{{ page.description }}" />

	<meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" />

	<title>{{ page.title }}</title>

	<link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" />

	<meta name="og:url" content="{{ site.domain }}{{ page.slug }}" />
	<meta name="og:type" content="website" />
	<meta name="og:title" content="{{ page.title }}" />
	<meta name="og:description" content="{{ page.description }}" />
	<meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" />

	<meta name="twitter:card" content="summary" />
	<meta name="twitter:site" content="{{ site.twitter }}" />
	<meta name="twitter:title" content="{{ page.title }}" />
	<meta name="twitter:description" content="{{ page.description }}" />
	<meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" />

	<link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" />

	<style>
		{% include site.min.css %}
    {% include highlight.min.css %}
  </style>
</head>

<body>
	{% include header.html %}

	<article>

		<h1>{{ page.title }}</h1>

		<time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}, by {{ site.author }}</time>

		{{ content }}

	</article>

	{% include footer.html %}

	<!-- Linked data - Article -->
	<script type="application/ld+json">
      {
      	"@context": "http://schema.org",
      	"@type": "NewsArticle",
      	"mainEntityOfPage": {
      		"@type": "WebPage",
      		"@id": "{{ site.domain }}{{ page.slug }}"
      	},

      	"image": [
      		"{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"
      	],
      	"datePublished": "{{ page.date | date_to_xmlschema }}",
      	"dateModified": "{{ page.date | date_to_xmlschema }}",
      	"author": {
      		"@type": "Person",
      		"name": "Mitja Felicijan"
      	},
      	"publisher": {
      		"@type": "Organization",
      		"name": "Mitja Felicijan",
      		"logo": {
      		"@type": "ImageObject",
      		"url": "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"
      		}
      	},
      	"headline": "{{ page.title }}",
      	"description": "{{ page.description }}"
      }
    </script>
</body>

</html>