<%global> from zblog.domain.blog import * <%method post_summary> <%args> post blog

<% post.headline %>

<% post.summary %>

<&SELF:post_topics, post=post, blog=blog &>
Posted <% post.datetime %> by <% post.user.fullname %>
More...
Comments (<% str(post.comment_count) %>) <%method post_topics> <%args> post blog % sep = '' % for topic in post.topics: <% sep %><% topic.topic.keyword %>\ % sep = ', ' % <%method view_post> <%args> post
<% post.headline %>     <&views.myt:post_controls, post=post&>
<& SELF:post_topics, post=post, blog=post.blog&>

<% post.summary %>

<% post.body %>
<%method post_controls> <%args> post <&|/components:securehref, href="javascript:edit_post({'post_id':'%s'})" % post.id, action=actions.EditPost(), post=post &>Edit <&|/components:securehref, href="javascript:delete_post({'post_id':'%s'})" % post.id, action=actions.EditPost(), post=post &>Delete <%method view_comment> <%args> comment showpost=False <% comment.subject %> % if showpost:     posted to <% comment.post.headline %> % % if comment.parent:
in reply to <% comment.parent.subject %> %
<% comment.body %>
Posted by <% comment.user.fullname %> on <% comment.datetime %> reply