aboutsummaryrefslogtreecommitdiffstats
path: root/templates/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/template.html')
-rw-r--r--templates/template.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/template.html b/templates/template.html
index 6b0d894..afbeefe 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -36,6 +36,22 @@
</a>
</div>
</header>
+ <!-- yes, this is stupid asf, using another template would be better (i cant get that to work) -->
+ {% if thought %}
+ <aside>
+ <h4>{{dt}}</h4>
+ <h5>this category:</h5>
+ <ul>
+ <li><b><a href={{'/thoughts#'+category.replace(' ', '_')}}>{{category}}</a></b></li>
+ </ul>
+ <h5>other categories:</h5>
+ {% for category_name in othercategories %}
+ <ul>
+ <li><a href={{'/thoughts#'+category_name.replace(' ', '_')}}>{{category_name}}</a></li>
+ </ul>
+ {% endfor %}
+ </aside>
+ {% endif %}
<article>
{% block content %}
{% endblock %}