Created basic homepage displaying feeds and entries.
[~jspiros/reader.git] / templates / reader / includes / entry.html
diff --git a/templates/reader/includes/entry.html b/templates/reader/includes/entry.html
new file mode 100644 (file)
index 0000000..38cc058
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="entry" id="entry_{{ entry.id }}">
+       <h2><a href="{{ entry.link }}">{{ entry.title }}</a></h2>
+       <p>Published on {{ entry.published }}. Last updated on {{ entry.updated }}.</p>
+       
+       <div class="entry_content">
+               {% if entry.summary %}{{ entry.summary|safe }}{% else %}{% if entry.content %}{{ entry.content|safe }}{% endif %}{% endif %}
+       </div>
+</div>
\ No newline at end of file