bune.city/_layouts/default.html

99 lines
3.6 KiB
HTML
Raw Normal View History

2020-04-03 05:37:20 +00:00
<!DOCTYPE html>
<html lang="en-AU">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>{{ page.title }} - {{ site.title }}</title>
2020-04-05 06:34:03 +00:00
<link rel="stylesheet" href="/assets/style.css">
<link rel='stylesheet' href='/assets/fonts/style.css'>
<link rel='stylesheet' href='/assets/syntax-highlighting.css'>
2020-04-09 15:56:02 +00:00
<link rel='stylesheet' href='/assets/plyr/plyr.css'>
<link type="application/atom+xml" rel="alternate" href="{{ site.url }}/feed.xml" title="Bune City Blog">
2020-04-03 05:37:20 +00:00
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap" rel="stylesheet">
2020-04-05 06:34:03 +00:00
<!-- opengraph -->
<meta property="og:title" content="{{ page.title }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:description" content="{{ page.summary | default: 'my personal blog about software and more!' }}">
<meta property="og:image" content="https://lynnesbian.space/assets/img/bune.png">
<meta property="og:image:alt" content="A drawing of a rabbit sniffing the air and smiling.">
<meta property="og:url" content="{{ page.url | absolute_url }}">
{%- if page.collection == "posts" %}
{%- assign summary = page.summary %}
{%- unless summary %}
{%- assign summary = page.excerpt | summarise %}
{%- endunless %}
{%- assign modified_date = page.updated %}
{%- unless modified_date %}
{%- assign modified_date = page.date %}
{%- endunless %}
<meta property="og:type" content="article">
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
<meta property="og:article:author" content="{{ page.author | default: 'Unknown' }}">
<meta property="og:article:section" content="{{ page.categories.first | default: 'Uncategorised' }}">
2020-04-05 08:41:13 +00:00
<meta property="og:locale" content="en_AU">
2020-04-05 06:34:03 +00:00
{%- for tag in page.tags %}
<meta property="og:article:tag" content="{{ tag }}">
{%- endfor %}
<!-- schema.org -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ page.url | absolute_url }}"
},
"language": "en_AU",
"headline": "{{ page.title }}",
"articleSection": "{{ page.categories.first | default: 'Uncategorised' }}",
"datePublished": "{{ page.date | date_to_xmlschema }}",
"dateModified": "{{ modified_date | date_to_xmlschema }}",
"author": {
"@type": "Person",
"name": "{{ page.author | default: 'Unknown' }}"
},
"license": "https://creativecommons.org/licenses/by-sa/4.0/",
"publisher": {
"@type": "Organization", // ;)
"name": "bune dot city",
"logo": {
"@type": "ImageObject",
"url": "{{ '/assets/img/shitty-amp-compliant-logo.png' | absolute_url }}",
"height": 60,
"width": 600
}
},
"image": [
{%- for image in page.images %}
"{{ image }}"{% unless image == page.images.last %},{% endunless %}
{%- endfor %}
],
"keywords": [
{%- for tag in page.tags %}
"{{ tag }}"{% unless tag == page.tags.last %},{% endunless %}
{%- endfor %}
],
"description": "{{ summary }}"
}
</script>
2020-04-09 15:56:02 +00:00
<script src='/assets/js/post.js'></script>
<script src='/assets/plyr/plyr.polyfilled.js'></script>
2020-04-05 06:34:03 +00:00
{%- endif %}
2020-04-09 15:56:02 +00:00
<script src='/assets/js/script.js'></script>
2020-04-05 08:41:13 +00:00
<script async src="https://ackee.lynnesbian.space/script.js" data-ackee-server="https://ackee.lynnesbian.space" data-ackee-domain-id="49c9dc73-8e0f-4a0c-ba6f-47a69a2cbaca"></script>
2020-04-03 05:37:20 +00:00
</head>
<body>
<div id='thing-that-makes-the-footer-be-at-the-bottom-of-the-page'>
{% unless page.no_header %}{% include header.html %}{% endunless %}
{{ content }}
</div>
2020-04-06 12:19:02 +00:00
{% unless page.no_footer %}{% include footer.html %}{% endunless %}
2020-04-03 05:37:20 +00:00
</body>
</html>