blog-post.html
HTML document, ASCII text
1
{% extends "_layout.html" %}
2
{% block title %}{{ Title }}{% endblock %}
3
{% block Head %}
4
{{super()}}
5
<link rel="stylesheet" href="/src/code-blocks.css" />
6
<link rel="stylesheet" href="/src/blog.css" />
7
<link rel="alternate" href="/blog/{{PlaintextPath}}" type="text/plain" title="Post source" />
8
<meta property="og:title" content="{{ Title }}" />
9
<meta property="og:type" content="article" />
10
<meta property="article:published_time" content="{{ OpenGraphDate }}T00:00:00Z" />
11
<meta property="article:author" content="https://steve0greatness.nekoweb.org/" />
12
{% if Revised %}<meta property="article:modified_time" content="{{ post["opengraph-update"] }}T00:00:00Z" />{% endif %}
13
<meta property="profile:first_name" content="Steve0Greatness" />
14
<meta property="profile:username" content="Steve0Greatness" />
15
<meta property="profile:gender" content="male" />
16
<meta property="og:url" content="https://steve0greatness.nekoweb.org/blog/{{PostPath}}" />
17
<link rel="canonical" href="https://steve0greatness.nekoweb.org/blog/{{PostPath}}" />
18
{% endblock %}
19
{% from "_macros.html" import GenerateBreadcrumbs %}
20
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }, {"href": "/blog/" + PostPath, "title": Title}]) }}{% endblock %}
21
{% block content %}
22
<h1>{{ Title }}</h1>
23
<article>
24
<header>
25
<div role="toolbar" class="toolbar">
26
<strong>Share</strong>
27
<a href="https://toot.kytta.dev/?text=Take a look at this article by @S0G@mastodon.social: https://steve0greatness.nekoweb.org/blog/{{PostPath}}" title="Share to Mastodon">
28
<img src="/toot-kytta-dev-icon.webp" width="24" height="24" aria-hidden="true" alt="Share to Mastodon" />
29
</a>
30
<a href="/blog/{{PostPath}}" title="Direct link">
31
<img src="/link-icon.webp" width="24" height="24" aria-hidden="true" alt="Direct link" />
32
</a>
33
<a href="/blog/{{PlaintextPath}}" title="Markdown source">
34
<img src="/md-src.webp" width="24" height="24" aria-hidden="true" alt="Markdown Source" />
35
</a>
36
</div>
37
<div class="time-stamps">
38
<time datetime="{{ OpenGraphDate }}T00:00:00-08:00">{{PostDate}} PST</time>
39
{% if Revised %}- <span aria-hidden="true" style="font-style:italic">Revision as of: </span> <time datetime="{{ post["opengraph-update"] }}T00:00:00-08:00" aria-label="Revision">{{Revised}} PST</time>{% endif %}
40
{% if IsDraft %}<i>Draft</i>{% endif %}
41
</div>
42
</header>
43
{{ Content }}
44
</article>
45
{% endblock %}
46