From b076881a8e899c67767eb6c9640f1da68f2d3454 Mon Sep 17 00:00:00 2001
From: jwansek <eddie.atten.ea29@gmail.com>
Date: Wed, 17 Feb 2021 20:56:57 +0000
Subject: finised parser, finished rendering posts, finished sercving images

---
 templates/thoughts.html | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 templates/thoughts.html

(limited to 'templates/thoughts.html')

diff --git a/templates/thoughts.html b/templates/thoughts.html
new file mode 100644
index 0000000..8717299
--- /dev/null
+++ b/templates/thoughts.html
@@ -0,0 +1,12 @@
+{% extends "template.html" %}
+{% block content %}
+    {% for category_name, thoughts in tree.items() %}
+    <h2 id={{category_name.replace(' ', '_')}}>{{category_name}}</h2>
+    <dl>
+        {% for id_, title, dt in thoughts %}
+        <dt><a href={{'/thought?id=%i' % id_}}>title</a></dt>
+        <dd>{{dt}}</dd>
+        {% endfor %}
+    </dl>
+    {% endfor %}
+{% endblock %}
\ No newline at end of file
-- 
cgit v1.2.3