{% macro author(name, ctime, mtime) %}

{{ name }} - {{ format_since(ctime) }}{% if ctime != mtime %} (last modified {{ format_since(mtime) }}){% endif %}

{% endmacro %} {% macro render_comment_pre(comment) %}
{{ author(comment.author, comment.create_time, comment.modify_time) }}

{{ comment.text }}

{% endmacro %} {% macro render_comment_post(comment) %} {% for c in comment.children %} {{ render_comment(c) }} {% endfor %}
{% endmacro %} {% macro render_comment(comment) %} {{ render_comment_pre(comment) }} reply {{ render_comment_post(comment) }} {% endmacro %} {% macro reply() %} {% if 'user_id' in session %}

{% endif %} {% endmacro %}