# if blog_post and blog_post.version:
${render.render_blog_post(blog_post)}
# if not list_mode and ('BLOG_MODIFY_ALL' in perm(blog_post.resource) or (blog_post.author==perm.username and 'BLOG_MODIFY_OWN' in perm(blog_post.resource))):
# endif
# endif
# if blog_post and not blog_post.version:
# endif
# if list_of_attachments:
${list_of_attachments(blog_attachments, compact=True)}
# else:
# set alist = blog_attachments
# set compact = True
# include "list_of_attachments.html"
# endif
# with
# set blog_comments = blog_post.get_comments()
Add New Comment
No blog post named '${blog_post.name}'. Create it!
# endif${blog_list_title}
# if blog_post_list and not len(blog_post_list):
No blog posts available.
# endif # for blog_post in blog_post_list: ${render.render_blog_post(blog_post, list_mode=True)} # endfor
Comments
# if blog_comments: # for comment in blog_comments:No comments.
# endif