A mirror of my website's source code.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 blog-list.html

View raw Download
text/html • 913 B
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
{% endblock %}
6
{% block title %}Blog Index{% endblock %}
7
{% from "_macros.html" import GenerateBreadcrumbs %}
8
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/blog","title": "Blog Index" }]) }}{% endblock %}
9
{% block content %}
10
<h1>Blog Posts</h1>
11
<a href="/blog/feed.rss"><img src="/static/rss-feed-icon-96-by-96.png" width="16" height="16" alt="RSS Feed"></a>
12
<table class="blog-list">
13
<tbody>
14
{% for post in PostList %}
15
<tr class="blog-list-title-and-date">
16
<td>
17
<a href="/blog/{{post['pathname']}}">{{post["title"]}}</a>
18
</td>
19
<td>
20
<time>{{post["date"]}}</time>
21
</td>
22
</tr>
23
{% endfor %}
24
</tbody>
25
</table>
26
{% endblock %}