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" contents="{{ OpenGraphDate }}T00:00:00Z" />
11
<meta property="article:author" contents="https://steve0greatness.github.io" />
12
{% if Revised %}<meta property="article:modified_time" contents="{{ post["opengraph-update"] }}T00:00:00Z" />{% endif %}
13
<meta property="profile:first_name" contents="Steve0Greatness" />
14
<meta property="profile:username" contents="Steve0Greatness" />
15
<meta property="profile:gender" contents="male" />
16
<meta property="og:url" content="https://steve0greatness.github.io/blog/{{PostPath}}" />
17
{% endblock %}
18
{% from "_macros.html" import GenerateBreadcrumbs %}
19
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }, {"href": "/blog/" + PostPath, "title": Title}]) }}{% endblock %}
20
{% block content %}
21
<h1>{{ Title }}</h1>
22
<article>
23
<header>
24
<div role="toolbar" class="toolbar">
25
<a href="https://toot.kytta.dev/?text=Take a look at this article by @S0G@mastodon.social: https://steve0greatness.github.io/blog/{{PostPath}}" title="Share to Mastodon">
26
<img src="/toot-kytta-dev-icon.png" width="16" height="16" aria-hidden="true" title="Share to Mastodon" />
27
</a>
28
<a href="/blog/{{PostPath}}" title="Direct link">
29
<img src="/link-icon.png" width="16" height="16" aria-hidden="true" title="Direct link" />
30
</a>
31
<a href="/blog/{{PlaintextPath}}" title="Markdown source">
32
<img src="/md-src.png" width="16" height="16" aria-hidden="true" />
33
</a>
34
</div>
35
<time>{{PostDate}} PST</time>
36
{% if Revised %}- <span aria-hidden="true" style="font-style:italic">Revision as of: </span> <time aria-label="Revision">{{Revised}} PST</time>{% endif %}
37
{% if IsDraft %}<i>Draft</i>{% endif %}
38
</header>
39
{{ Content }}
40
</article>
41
{% endblock %}
42