{% comment %} vim:ft=htmldjango: This file contains the simple way to render a news item {% endcomment %} {% load news markup tagging_tags %}

{# TODO: categories! #} {{ object.title }}

Posted by {{object.author}}
{% comment %} TODO: post picture Developers {% endcomment %}
{{ object.body|markdown:"safe" }}
{% tags_for_object object as tag_list %} {% if tag_list %}
Tags: {% for tag in tag_list %} {{ tag }}{% if not forloop.last %}, {% endif %} {% endfor %}
{% endif %} {% comment %} I want to see how the page looks without any admin stuff {% 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 %} {% endcomment %}