Adding diario stuff to this project
[cascardo/ema.git] / templates / diario / entry_list.html
diff --git a/templates/diario/entry_list.html b/templates/diario/entry_list.html
new file mode 100644 (file)
index 0000000..c38748c
--- /dev/null
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% for entry in entry_list %}
+  <h3><a href="{{ entry.get_absolute_url }}">{{ entry.title }}</a></h3>
+  {{ entry.body|safe }}  
+  <p>Posted on {{ entry.pub_date|date:"F j, Y" }}</p>
+{% endfor %}
+
+{% endblock %}