aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/wiki.html
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-04-13 02:49:46 -0500
committerChristian Cleberg <hello@cleberg.net>2024-04-13 02:49:46 -0500
commit64f5a07bb30fbcf6cc553205dd1a903fbf8c3dfe (patch)
tree5f058fd4b8f2545bc3a9d8181e7a1d9ec1ef1ce1 /theme/templates/wiki.html
parent06199bd82fc93ea7bd98212a54774499fcd22856 (diff)
downloadcleberg.net-64f5a07bb30fbcf6cc553205dd1a903fbf8c3dfe.tar.gz
cleberg.net-64f5a07bb30fbcf6cc553205dd1a903fbf8c3dfe.tar.bz2
cleberg.net-64f5a07bb30fbcf6cc553205dd1a903fbf8c3dfe.zip
minify site
Diffstat (limited to 'theme/templates/wiki.html')
-rw-r--r--theme/templates/wiki.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/theme/templates/wiki.html b/theme/templates/wiki.html
index 3d8b8fd..3860350 100644
--- a/theme/templates/wiki.html
+++ b/theme/templates/wiki.html
@@ -2,16 +2,13 @@
{% block subtitle %}Wiki | {% endblock %}
{% block main %}
+<p><a href="/">&larr; home</a></p>
<h1>Wiki</h1>
<p>Use <code>Ctrl + F</code> to search wiki pages for keywords.</p>
-<div class="wiki-post">
- <p>Wiki Page</p>
- <p>Last Updated</p>
-</div>
{% for post in posts %}
- <div class="wiki-post">
- <a href="{{ url_for("wiki", slug=post.slug) }}">{{ post.title }}</a>
- <time datetime="{{ post.date | strftime("%Y-%m-%d") }}">&lt;{{ post.date|strftime("%Y-%m-%d") }}&gt;</time>
+ <div class="post">
+ <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time>
+ <a href='{{ url_for("wiki", slug=post.slug) }}'>{{ post.title }}</a>
</div>
{% endfor %}
{% endblock %}