meta.html 1.65 KB
Newer Older
1
<meta charset="utf-8">
2
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
Leon Byford's avatar
Leon Byford committed
3
    <meta name="theme-color" content="#ddf">
4 5 6 7

    {% if page.excerpt %}
    <meta name="description" content="{{ page.excerpt| strip_html }}" />
    <meta property="og:description" content="{{ page.excerpt| strip_html }}" />
Leon Byford's avatar
Leon Byford committed
8
    <meta name="twitter:description" content="{{ page.excerpt| strip_html }}">
9 10 11
    {% else %}
    <meta name="description" content="{{ site.description }}">
    <meta property="og:description" content="{{ site.description }}" />
Leon Byford's avatar
Leon Byford committed
12
    <meta name="twitter:description" content="{{ site.description }}">
13 14
    {% endif %}
    <meta name="author" content="{{ site.name }}" />
Leon Byford's avatar
Leon Byford committed
15
    <meta property="og:site_name" content="{{ site.name }}">
16 17 18

    {% if page.title %}
    <meta property="og:title" content="{{ page.title }}" />
Leon Byford's avatar
Leon Byford committed
19
    <meta name="twitter:title" content="{{ page.title }}" />
20 21 22
    {% else %}
    <meta property="og:title" content="{{ site.name }}" />
    <meta name="twitter:title" content="{{ site.name }}" />
Leon Byford's avatar
Leon Byford committed
23
    {% endif %}
Leon Byford's avatar
Leon Byford committed
24 25

	<meta name="twitter:card" content="summary">
26 27
	<meta name="twitter:image" content="{{ site.url }}{{ site.baseurl }}/images/square.png">
	<meta property="og:image" content="{{ site.url }}{{ site.baseurl }}/images/square.png">
Leon Byford's avatar
Leon Byford committed
28
	<meta property="og:url" content="{{ site.url }}{{page.baseurl}}{{page.url}}">
29
	<meta property="og:type" content="website">
30 31 32

	<link rel="icon" href="{{ site.baseurl }}/images/square.svg" sizes="any" type="image/svg+xml">
	<link rel="apple-touch-icon" href="{{ site.baseurl }}/images/square.png">
Leon Byford's avatar
Leon Byford committed
33
	<link rel="canonical" href="{{site.url}}{{page.baseurl}}{{page.url}}">
Leon Byford's avatar
Leon Byford committed
34 35
	
	<meta name="flattr:id" content="v16rjn">