4
This file contains the simple way to render a news item
7
{% load news markup tagging_tags %}
10
<table cellpadding="0" cellspacing="0" width="98%">
12
<td class="specialhead"><span class="itemTitle">{# TODO: categories! #} {{ object.title }}</span></td>
16
<span class="itemPoster">Posted by {{object.author}}</span>
17
<span class="itemPostDate">on {{ object.publish|date:"j F Y" }}</span>
22
<div class="itemBody">
23
{% comment %} TODO: post picture
24
<a href='http://xoops.widelands.org/modules/news/index.php?storytopic=4'><img src='http://xoops.widelands.org/modules/news/images/topics/59330258038d8f6b.png' alt='Developers' hspace='10' vspace='10' align='left' /></a>
26
<div class="itemText">
27
{{ object.body|markdown:"safe" }}
32
{% tags_for_object object as tag_list %}
36
<strong>Tags:</strong>
37
{% for tag in tag_list %}
38
{{ tag }}{% if not forloop.last %}, {% endif %}