<%inherit file="/base.mako"/> <%include file="/flash.mako"/> % for post in c.posts: <% post.full_url = u'/archive/%s/%s/%s/%s' % (post.created.strftime('%Y'), post.created.strftime('%m'), post.created.strftime('%d'), post.url) %>

${post.title}

${h.literal(h.teaser(post.body, post.full_url))}

Read more % if len(post.comments) == 0: No comments % elif len(post.comments) == 1: 1 comment % else: ${len(post.comments)} comments % endif

% endfor