Added an index instead of "all sandwiches", made custom titles for every page.
[~kgodey/maayanwich.git] / templates / indexsandwiches.html
diff --git a/templates/indexsandwiches.html b/templates/indexsandwiches.html
new file mode 100644 (file)
index 0000000..6f9a01a
--- /dev/null
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block title %}Sandwich Index{% endblock %}
+
+{% block content %}
+       <h1 class="pagetitle">Index of All Sandwiches</h1>
+               {% for s in allsandwiches %}
+                       <p class="sandnotes"><a href="{{ s.get_absolute_url }}">{{ s.adjective }}</a></p>
+               {% endfor %}
+{% endblock %}
\ No newline at end of file