{%- macro m_postinfos(post) %} {%- set author_href = url_for("social.user", user_id=post.creator.id) %} {%- set thread_href = url_for(".thread", thread_id=post.thread_id, community_id=g.community.slug) %}
{{ post.created_at | datetimeformat }}, {{ post.thread.title }} ,   {{ post.creator }}
{%- endmacro %} {%- macro m_postattachments(post) %} {%- if post.attachments %}
{%- endif %} {%- endmacro %}