97 lines
No EOL
3.5 KiB
HTML
97 lines
No EOL
3.5 KiB
HTML
<!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>
|
|
<link rel="stylesheet" href="/assets/style.css">
|
|
<link rel='stylesheet' href='/assets/fonts/style.css'>
|
|
<link rel='stylesheet' href='/assets/syntax-highlighting.css'>
|
|
<link type="application/atom+xml" rel="alternate" href="{{ site.url }}/feed.xml" title="Bune City Blog">
|
|
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap" rel="stylesheet">
|
|
|
|
<!-- 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' }}">
|
|
<meta property="og:locale" content="en_AU">
|
|
{%- 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>
|
|
|
|
<script src='/assets/post.js'></script>
|
|
{%- endif %}
|
|
<script src='/assets/script.js'></script>
|
|
<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>
|
|
</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>
|
|
{% unless page.no_footer %}{% include footer.html %}{% endunless %}
|
|
</body>
|
|
|
|
</html> |