<%inherit file="/base.mako"/> <%include file="/flash.mako"/>

${c.post.title}

Posted by ${c.post.user.nick} on ${c.post.created.strftime('%B %d, %Y')} % if c.current_user and c.current_user.id == c.post.user.id and c.current_user.has_permission(u'Edit My Posts'): [Edit] % endif
${h.literal(c.post.body)}
% if c.post.tags:

Filed under:

% endif % if len(c.post.comments) == 0:

No Responses

% elif len(c.post.comments) == 1:

One Response

% else:

${len(c.post.comments)} Responses

% endif % if len(c.post.comments) > 0:
    % for num, comment in enumerate(c.post.comments):
  1. by ${comment.user.nick} on ${comment.created.strftime('%B %d, %Y')} at ${comment.created.strftime('%H:%M')}

    ${h.comment(comment.body)}

  2. % endfor
% else: % if c.post.comment_status != u'open':

Comments are closed.

% endif % endif % if c.post.comment_status == u'open':

Leave a Reply

% if not c.current_user:

You must be logged in to post a comment.

% else:

Logged in as ${c.current_user.nick}. Logout »

% endif % endif