diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/template.jinja | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/template.jinja b/templates/template.jinja index 77bf38c..f28163e 100644 --- a/templates/template.jinja +++ b/templates/template.jinja @@ -42,6 +42,12 @@ {% if thought %} <aside> <h4>{{dt}}</h4> + <h5>contents:</h5> + <ul id="header_linkers"> + {% for text, depth, link in headers %} + <li>{{ '#'*depth }} <a href="{{ link }}">{{ text }}</a></li> + {% endfor %} + </ul> <h5>this category:</h5> <ul> <li><b><a href="{{'/thoughts#'+category.replace(' ', '_')}}">{{category}}</a></b></li> |