first frontend
[phinde.git] / data / templates / search / hit.htm
diff --git a/data/templates/search/hit.htm b/data/templates/search/hit.htm
new file mode 100644 (file)
index 0000000..3d8f633
--- /dev/null
@@ -0,0 +1,11 @@
+{% set doc = hit._source %}
+<li class="hit">
+ <a href="{{doc.url}}">{{doc.title}}</a>
+ {% if doc.author.name %}
+ by <a href="{{doc.author.url}}">{{doc.author.name}}</a>
+ {% endif %}
+ <br/><tt>{{doc.extra.cleanUrl}}</tt>
+ {% if doc.modate %}
+ <br/>Changed: {{doc.extra.day}}
+ {% endif %}
+</li>