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.github.io" />
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.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
<strong>Share</strong>
26
<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">
27
<img src="/toot-kytta-dev-icon.png" width="16" height="16" aria-hidden="true" title="Share to Mastodon" />
28
</a>
29
<a href="/blog/{{PostPath}}" title="Direct link">
30
<img src="/link-icon.png" width="16" height="16" aria-hidden="true" title="Direct link" />
31
</a>
32
<a href="/blog/{{PlaintextPath}}" title="Markdown source">
33
<img src="/md-src.png" width="16" height="16" aria-hidden="true" />
34
</a>
35
</div>
36
<div class="time-stamps">
37
<time datetime="{{ OpenGraphDate }}T00:00:00-08:00">{{PostDate}} PST</time>
38
{% 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 %}
39
{% if IsDraft %}<i>Draft</i>{% endif %}
40
</div>
41
</header>
42
{{ Content }}
43
</article>
44
{% endblock %}
45