Skip to content

Commit

Permalink
reaper: fix subnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Nov 20, 2014
1 parent 1c32917 commit af6e01f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tpls/reaper.tpl
Original file line number Diff line number Diff line change
@@ -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 -%}

0 comments on commit af6e01f

Please sign in to comment.