blog-list.html
HTML document, ASCII text
1
{% extends "_layout.html" %}
2
{% block Head %}
3
{{super()}}
4
<link rel="alternate" href="/blog/feed.rss" type="application/rss+xml" title="Steve0Greatness' Blog" />
5
<link rel="alternate" href="/blog/feed.json" type="application/feed+json" title="Steve0Greatness' Blog" />
6
<link rel="alternate" href="/blog/feed.atom" type="application/atom+xml" title="Steve0Greatness' Blog" />
7
<link rel="stylesheet" href="/src/blog.css" />
8
<meta property="og:type" content="website" />
9
<meta property="og:title" content="Blog index" />
10
<meta property="og:url" content="https://steve0greatness.nekoweb.org/blog/" />
11
<link rel="canonical" href="https://steve0greatness.nekoweb.org/blog/" />
12
{% endblock %}
13
{% block title %}Blog Index{% endblock %}
14
{% from "_macros.html" import GenerateBreadcrumbs %}
15
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }]) }}{% endblock %}
16
{% block content %}
17
<h1>Blog Posts</h1>
18
<div role="toolbar" class="toolbar">
19
<strong>Subscribe</strong>
20
<a href="/blog/feed.rss" title="RSS Feed"><img src="/rss-feed.webp" width="24" height="24" alt="RSS Feed"></a>
21
<a href="/blog/feed.json" title="JSON Feed"><img src="/JSONFeed.webp" width="24" height="24" alt="JSON Feed"></a>
22
<a href="/blog/feed.atom" title="Atom Feed"><img src="/Atom-Feed.webp" width="24" height="24" alt="Atom Feed"></a>
23
</div>
24
<table class="blog-list">
25
<tbody>
26
{% for post in PostList %}
27
<tr class="blog-list-title-and-date">
28
<td>
29
<a href="/blog/{{post['pathname']}}">{{post["title"]}}</a>
30
</td>
31
<td>
32
<time datetime="{{post["opengraph-date"]}}">{{post["date"]}} PST</time>
33
</td>
34
<td>
35
{% if post["is-draft"] %}<i>Draft</i>{% endif %}
36
</td>
37
</tr>
38
{% endfor %}
39
</tbody>
40
</table>
41
<script>
42
function main() {
43
if (location.search != "") {
44
location = "/blog/" + location.search + ".html"
45
}
46
}
47
</script>
48
{% endblock %}
49