showing publishedDate for news

This commit is contained in:
Thomas Pointhuber 2014-03-14 09:55:04 +01:00
parent a559bad488
commit b88146d669
4 changed files with 28 additions and 1 deletions

View file

@ -6,6 +6,7 @@
<div>
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
{% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
<p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
<p class="url">{{ result.pretty_url }}</p>
</div>