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="stylesheet" href="/src/blog.css" />
7
<meta property="og:title" content="Blog index" />
8
<meta property="og:url" content="https://steve0greatness.github.io/blog/" />
9
{% endblock %}
10
{% block title %}Blog Index{% endblock %}
11
{% from "_macros.html" import GenerateBreadcrumbs %}
12
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }]) }}{% endblock %}
13
{% block content %}
14
<h1>Blog Posts</h1>
15
<div role="toolbar" class="toolbar">
16
<a href="/blog/feed.rss"><img src="/rss-feed.png" width="16" height="16" alt="RSS Feed"></a>
17
<a href="/blog/feed.json"><img src="/JSONFeed.png" width="16" height="16" alt="JSON Feed"></a>
18
</div>
19
<table class="blog-list">
20
<tbody>
21
{% for post in PostList %}
22
<tr class="blog-list-title-and-date">
23
<td>
24
<a href="/blog/{{post['pathname']}}">{{post["title"]}}</a>
25
</td>
26
<td>
27
<time>{{post["date"]}}</time>
28
</td>
29
</tr>
30
{% endfor %}
31
</tbody>
32
</table>
33
{% endblock %}