]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/news/search_result.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb / templates / news / search_result.html
diff --git a/panikweb/templates/news/search_result.html b/panikweb/templates/news/search_result.html
new file mode 100644 (file)
index 0000000..9a05f0d
--- /dev/null
@@ -0,0 +1,7 @@
+<a href="{% url 'newsitem-view' slug=result.slug %}">
+       <span class="icon-bullhorn" ></span>
+       <strong>{{ result.title }}</strong>
+       {% if result.date %}
+               <div class="smooth">{{ result.date|date:"D d/M"|lower }}</div>
+       {% endif %}
+</a>