summaryrefslogtreecommitdiff
path: root/templates/thought.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/thought.html.j2')
-rw-r--r--templates/thought.html.j215
1 files changed, 14 insertions, 1 deletions
diff --git a/templates/thought.html.j2 b/templates/thought.html.j2
index fa4873e..a6953e2 100644
--- a/templates/thought.html.j2
+++ b/templates/thought.html.j2
@@ -1,4 +1,17 @@
{% extends "template.html.j2" %}
{% block content %}
- {{ content|safe }}
+ <aside>
+ <h4>{{datetime}}</h4>
+ {% if contents_html != "" %}
+ <h5>contents:</h5>
+ <div id="contents">
+ {{ contents_html|safe}}
+ </div>
+ {% endif %}
+ <h5>this category:<h5>
+ <ul>
+ <li><b><a href="{{'/thoughts#'+category.replace(' ', '_')}}">{{category}}</a></b></li>
+ </ul>
+ </aside>
+ {{md_html|safe}}
{% endblock %}