the home site for me: also iteration 3 or 4 of my site
1<meta charset="UTF-8" />
2<meta content="IE=edge" http-equiv="X-UA-Compatible" />
3<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
4<meta name="viewport" content="width=device-width, initial-scale=1" />
5<meta name="robots" content="index, follow" />
6{% if page.title %} {% set title = page.title %} {% elif section.title %} {% set
7title = section.title %} {% elif config.title %} {% set title = config.title %}
8{% endif %} {% if page.extra.author %} {% set author = page.extra.author %} {%
9elif section.extra.author %} {% set author = section.extra.author %} {% elif
10config.extra.author %} {% set author = config.extra.author %} {% endif %} {% if
11page.description %} {% set description = page.description | truncate(length=150)
12%} {% elif section.description %} {% set description = section.description |
13truncate(length=150) %} {% elif config.description %} {% set description =
14config.description | truncate(length=150) %} {% endif %} {% if page.extra.image
15%} {% set image = get_url(path="og.png", trailing_slash=false) %} {% elif
16section.extra.image %} {% set image = get_url(path=section.extra.image,
17trailing_slash=false) %} {% elif page.path %} {% set image =
18get_url(path=page.path ~ "og.png", trailing_slash=false) %} {% else %} {% set
19image = get_url(path="og.png", trailing_slash=false) %} {% endif %} {% if
20page.permalink %} {% set url = page.permalink %} {% elif section.permalink %} {%
21set url = section.permalink %} {% elif config.base_url %} {% set url =
22config.base_url %} {% endif %} {% if title %}
23<title>{{ title }}</title>
24{% endif %} {% block metatags %} {% if title %}
25<meta name="title" content="{{ title }}" />
26{% endif %} {% if author %}
27<meta name="author" content="{{ author }}" />
28{% endif %} {% if description %}
29<meta name="description" content="{{ description }}" />
30{% endif %}
31<meta property="og:type" content="website" />
32<meta property="og:url" content="{{ url | safe }}" />
33{% if title %}
34<meta property="og:site_name" content="{{ config.title }}" />
35{% endif %} {% if title %}
36<meta property="og:title" content="{{ title }}" />
37{% endif %} {% if description %}
38<meta property="og:description" content="{{ description }}" />
39{% endif %} {% if image %}
40<meta property="og:image" content="{{ image }}" />
41{% endif %} {% set twitter_card = config.extra.twitter_card |
42default(value=true) %} {% if twitter_card != false %}
43<meta property="twitter:card" content="summary_large_image" />
44<meta property="twitter:url" content="{{ url | safe }}" />
45{% if title %}
46<meta property="twitter:title" content="{{ title }}" />
47{% endif %} {% if description %}
48<meta property="twitter:description" content="{{ description }}" />
49{% endif %} {% if image %}
50<meta property="twitter:image" content="{{ image }}" />
51{% endif %} {% endif %}
52<link rel="canonical" href="{{ url | safe }}" />
53{% if image %}
54<link
55 rel="shortcut icon"
56 type="image/x-icon"
57 href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}"
58/>
59{% endif %} {% endblock metatags %} {% if config.generate_feeds %} {% block feed
60%} <link rel="alternate" type="application/atom+xml" title="RSS" href="{{
61get_url(path="atom.xml", trailing_slash=false) }}"> {% endblock feed %} {% endif
62%} {% block css %} {% set cssHash = get_hash(path="css/main.css", sha_type=256,
63base64=true) %}
64<link
65 rel="stylesheet"
66 type="text/css"
67 href="{{ get_url(path='css/main.css?' ~ cssHash, trailing_slash=false) | safe }}"
68/>
69{% endblock css %} {% set jsHash = get_hash(path="js/script.js", sha_type=256,
70base64=true) %}
71<script
72 src="{{ get_url(path='js/script.js?' ~ jsHash, trailing_slash=false) | safe }}"
73 defer
74></script>
75<script
76 defer
77 data-domain="dunkirk.sh"
78 src="https://nexus.kieranklukas.com/js/script.outbound-links.file-downloads.js"
79></script>