summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-14 09:55:04 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-14 09:55:11 +0100
commitb88146d669b1196ed1efc4ae4108e238cfd7dbca (patch)
treea960b54ea6673059bbbf9fc25addde39ea5a8859 /searx/templates
parenta559bad4884fa9dc60d44cd580812e1e2fedef80 (diff)
showing publishedDate for news
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/result_templates/default.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/templates/result_templates/default.html b/searx/templates/result_templates/default.html
index d06a4598a..e0711b761 100644
--- a/searx/templates/result_templates/default.html
+++ b/searx/templates/result_templates/default.html
@@ -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>