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