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.github.io/blog/" />
11
{% endblock %}
12
{% block title %}Blog Index{% endblock %}
13
{% from "_macros.html" import GenerateBreadcrumbs %}
14
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }]) }}{% endblock %}
15
{% block content %}
16
<h1>Blog Posts</h1>
17
<div role="toolbar" class="toolbar">
18
<strong>Subscribe</strong>
19
<a href="/blog/feed.rss"><img src="/rss-feed.png" width="16" height="16" alt="RSS Feed"></a>
20
<a href="/blog/feed.json"><img src="/JSONFeed.png" width="16" height="16" alt="JSON Feed"></a>
21
<a href="/blog/feed.atom"><img src="/Atom-Feed.png" width="16" height="16" alt="Atom Feed"></a>
22
</div>
23
<table class="blog-list">
24
<tbody>
25
{% for post in PostList %}
26
<tr class="blog-list-title-and-date">
27
<td>
28
<a href="/blog/{{post['pathname']}}">{{post["title"]}}</a>
29
</td>
30
<td>
31
<time datetime="{{post["opengraph-date"]}}">{{post["date"]}} PST</time>
32
</td>
33
<td>
34
{% if post["is-draft"] %}<i>Draft</i>{% endif %}
35
</td>
36
</tr>
37
{% endfor %}
38
</tbody>
39
</table>
40
<script>
41
function main() {
42
if (location.search != "") {
43
location = "/blog/" + location.search + ".html"
44
}
45
}
46
</script>
47
{% endblock %}
48