diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 03:04:37 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 03:04:37 +0100 |
| commit | e2d1d421e422790b956e57e40522630221eae02c (patch) | |
| tree | 5a0fe6d84a845c2d70bed1f47d17fc259df71021 /templates/thought.html.j2 | |
| parent | 1d1383ce943cf6b1ddb32b031a9c9a10e29f98fe (diff) | |
got website working; final touches are needed
Diffstat (limited to 'templates/thought.html.j2')
| -rw-r--r-- | templates/thought.html.j2 | 15 |
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 %} |
