{% comment %} vim:ft=htmldjango: This file contains the simple way to render a news item {% endcomment %} {% load threadedcomments_tags %} {% load news_extras wl_markdown tagging_tags wlprofile_extras custom_date %}
{% if object.has_image %} {{ object.image_alt }} {% endif %} {% if perms.news %}
{% if perms.news.post_can_add %}Add New Post{% endif %} {% if perms.news.post_can_edit %}| Edit{% endif %} {% if perms.news.post_can_delete %}| Delete{% endif %}
{% endif %}

{{ object.title }}

{{ object.body|wl_markdown:"safe" }}
{% get_comment_count for object as ccount %} {{ ccount }} comments Posted by {{object.author|user_link}} on {{ object.publish|custom_date:user }}