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.87 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
<meta property="og:type" content="website" />
8
<meta property="og:title" content="Blog index" />
9
<meta property="og:url" content="https://steve0greatness.nekoweb.org/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
<strong>Subscribe</strong>
18
<a href="/blog/feed.rss" title="RSS Feed"><img src="/rss-feed.webp" width="24" height="24" alt="RSS Feed"></a>
19
<a href="/blog/feed.json" title="JSON Feed"><img src="/JSONFeed.webp" width="24" height="24" alt="JSON Feed"></a>
20
<a href="/blog/feed.atom" title="Atom Feed"><img src="/Atom-Feed.webp" width="24" height="24" alt="Atom Feed"></a>
21
</div>
22
<table class="blog-list">
23
<tbody>
24
{% for post in PostList %}
25
<tr class="blog-list-title-and-date">
26
<td>
27
<a href="/blog/{{post['pathname']}}">{{post["title"]}}</a>
28
</td>
29
<td>
30
<time datetime="{{post["opengraph-date"]}}">{{post["date"]}} PST</time>
31
</td>
32
<td>
33
{% if post["is-draft"] %}<i>Draft</i>{% endif %}
34
</td>
35
</tr>
36
{% endfor %}
37
</tbody>
38
</table>
39
<script>
40
function main() {
41
if (location.search != "") {
42
location = "/blog/" + location.search + ".html"
43
}
44
}
45
</script>
46
{% endblock %}
47