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