]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/modules/news-item.html
Major update of the webapp.
[people/shoehn/ipfire.org.git] / templates / modules / news-item.html
index 9eb061e020b54c4080e1e2be9240a73347efc545..1716fa5bd5cf4a82773f0d5da9772982f256b60d 100644 (file)
@@ -5,7 +5,7 @@
                                {% if announcement %}
                                        {{ _("Announcement") }}:
                                {% end %}
-                               <a href="/news/{{ escape(item.slug) }}">{{ escape(item.title) }}</a>
+                               <a href="/news/{{ item.slug }}">{{ item.title }}</a>
                        </h2>
                {% end %}
 
@@ -16,7 +16,7 @@
        <div class="span12">
                <p class="pull-right">
                        <a href="/author/{{ item.author_id }}">{{ item.author }}</a> -
-                       {{ locale.format_date(item.date, full_format=True) }}
+                       {{ locale.format_date(item.published, full_format=True) }}
                </p>
        </div>
 </div>