diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2021-12-22 19:35:12 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2021-12-22 19:35:12 +0000 |
commit | 95a5c95842de869cfd7c8e9d1c824dc0780af949 (patch) | |
tree | e1f9f306b1058fe256d88465a833cbf4129951f8 /templates/thoughts.jinja | |
parent | 1f8697b0b4680a146a23e451238c7d76239b97b3 (diff) | |
download | eda.gay-95a5c95842de869cfd7c8e9d1c824dc0780af949.tar.gz eda.gay-95a5c95842de869cfd7c8e9d1c824dc0780af949.zip |
renamed all template files
Diffstat (limited to 'templates/thoughts.jinja')
-rw-r--r-- | templates/thoughts.jinja | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/thoughts.jinja b/templates/thoughts.jinja new file mode 100644 index 0000000..bdbe854 --- /dev/null +++ b/templates/thoughts.jinja @@ -0,0 +1,12 @@ +{% extends "template.html" %} +{% 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 |