aboutsummaryrefslogtreecommitdiffstats
path: root/templates/thoughts.html.j2
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-08-25 14:19:10 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-08-25 14:19:10 +0000
commit787a9421d1a61229b838dcbf17734c42172800f7 (patch)
tree014297140526a59232dbc5a23e5d89e374289a59 /templates/thoughts.html.j2
parenta86a5fa2f075ec455aa5101acff9c3fda290294d (diff)
downloadeda.gay-787a9421d1a61229b838dcbf17734c42172800f7.tar.gz
eda.gay-787a9421d1a61229b838dcbf17734c42172800f7.zip
Renamed template files, added active for torrents
Diffstat (limited to 'templates/thoughts.html.j2')
-rwxr-xr-xtemplates/thoughts.html.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/thoughts.html.j2 b/templates/thoughts.html.j2
new file mode 100755
index 0000000..bf06f57
--- /dev/null
+++ b/templates/thoughts.html.j2
@@ -0,0 +1,12 @@
+{% extends "template.html.j2" %}
+{% block content %}
+ {% for category_name, thoughts in tree.items() %}
+ <h3 id="{{category_name.replace(' ', '_')}}">{{category_name}}</h3>
+ <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