aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/wiki.html
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2024-03-29 01:42:38 -0500
committerChristian Cleberg <[email protected]>2024-03-29 01:42:38 -0500
commit4cd7447aced18a5469feae91886076507c0b9f0e (patch)
treea4733d553ce68f64277ffa3a52f800dc58ff72de /theme/templates/wiki.html
parentb90b88ff1cb8ade86496fe072edac3cd27fe9463 (diff)
parent07c42d3ad17060131e822f5816d2057cd1753b1b (diff)
downloadcleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.tar.gz
cleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.tar.bz2
cleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.zip
merge org branch into main
Diffstat (limited to 'theme/templates/wiki.html')
-rw-r--r--theme/templates/wiki.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/theme/templates/wiki.html b/theme/templates/wiki.html
new file mode 100644
index 0000000..ead64c4
--- /dev/null
+++ b/theme/templates/wiki.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+
+<<<<<<< HEAD:templates/wiki.html
+{% block content %}
+<h1>{{ section.title }}</h1>
+=======
+{% block subtitle %}Wiki | {% endblock %}
+{% block main %}
+<h1>Wiki</h1>
+>>>>>>> org:theme/templates/wiki.html
+<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>
+<<<<<<< HEAD:templates/wiki.html
+{% for page in section.pages %}
+ <div class="wiki-post">
+ <p><a href="/wiki/{{ page.slug }}/">{{ page.title }}</a></p>
+ <time datetime="{{ page.updated | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.updated | date(format='%Y-%m-%d')}}</p>
+ </div>
+{% endfor %}
+{% endblock content %}
+=======
+{% 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>
+{% endfor %}
+{% endblock %}
+>>>>>>> org:theme/templates/wiki.html