diff --git a/tpls/reaper.tpl b/tpls/reaper.tpl index 0ffa7de..2b4e26a 100644 --- a/tpls/reaper.tpl +++ b/tpls/reaper.tpl @@ -1,15 +1,15 @@ {% macro shownote(note) -%} + {%- if note.timestamp != null -%} M0,"{{note.title | replace("\"", "\"\"") | safe}};{{note.url}}; {%- for tag in note.tags %} #{{tag}} {%- endfor %}" {%- for subnote in note.shownotes -%} {{ shownote(subnote) }} {%- endfor -%} ,{{note.timestamp | htime(true)}},,, +{% endif -%} {% endmacro %} {%- for note in shownotes -%} - {%- if note.timestamp != null -%} - {{ shownote(note) }} - {%- endif -%} + {{ shownote(note) }} {%- endfor -%}