diff --git a/tpls/list.tpl b/tpls/list.tpl
index cbec481..7ca7d16 100644
--- a/tpls/list.tpl
+++ b/tpls/list.tpl
@@ -1,19 +1,19 @@
-{% macro shownote(note) %}
+{% macro shownote(note, top) %}
{% if 'chapter' in note.tags %}
-
{{note.timestamp}} {{note.title}}
+ {{note.timestamp | htime}} {{note.title}}
{% else %}
{% if note.url %}
- {{note.title}}
+ {{note.title}}
{% else %}
- {{note.title}}
+ {{note.title}}
{% endif %}
{% endif %}
{% for subnote in note.shownotes %}
-
- {{ shownote(subnote) }}
+ {{ shownote(subnote, false) }}
{% endfor %}
@@ -21,7 +21,9 @@
{% endmacro %}
- {% for note in shownotes %}
- {{ shownote(note, true) }}
- {% endfor %}
+
+{% for note in shownotes %}
+ {{ shownote(note, true) }}
+{% endfor %}
+
diff --git a/tpls/osf.tpl b/tpls/osf.tpl
index b36d688..fcc152b 100644
--- a/tpls/osf.tpl
+++ b/tpls/osf.tpl
@@ -20,7 +20,7 @@ HEADER
/HEADER
{% macro shownote(note) -%}
- {{note.timestamp}} {{note.title}}
+ {{note.timestamp | htime}} {{note.title}}
{%- if note.url %} <{{note.url}}> {%- endif -%}
{%- for tag in note.tags %} #{{ tag }} {%- endfor -%}