blob: b3642bc5904776917778f2af1395ac03b0d4f71e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{% extends "base.html" %}
{% block meta %}
{{ super() }}
<meta property="og:type" content="website">
{% endblock %}
{% block styles %}
{{ super() }}
<link rel="stylesheet"
type="text/css"
href="{{ '/static/css/category.css'|asseturl }}">
{% endblock %}
{% set title = "Tag: " + this.tag %}
{% set description = "Posts tagged with “" + this.tag + "” on Still Thinking About It." %}
{% block content %}
{% set post_count = this.items.count() %}
<article>
<header>
<hgroup>
<h2>Tag: {{ this.tag }}</h2>
<p>
({{ post_count }}
{% if post_count > 1 %}
posts)
{% else %}
post)
{% endif %}
</p>
</hgroup>
</header>
<table>
<thead class="visually-hidden">
<tr>
<th scope="col">Date</th>
<th scope="col">Title</th>
</tr>
</thead>
<tbody>
{% for post in this.items %}
<tr>
<td>
{% if post.publication_date %}
<time datetime="{{ post.publication_date }}">{{ post.publication_date }}</time>
{% endif %}
</td>
<td>
<a href="{{ post|url }}">{{ post.title }}</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="2">
<em>No posts for this tag.</em>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</article>
{% endblock %}
|