]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/index.html
Add an index page
[djsite.git] / quotes / templates / quotes / index.html
diff --git a/quotes/templates/quotes/index.html b/quotes/templates/quotes/index.html
new file mode 100644 (file)
index 0000000..509f310
--- /dev/null
@@ -0,0 +1,17 @@
+{% extends 'quotes/base.html' %}
+
+{% block title %}Index page{% endblock %}
+
+{% block body %}
+
+<p><a href="all/">All the quotes in the database</a></p>
+
+<p><a href="random/">One random quote</a></p>
+
+<p><a href="show/1/">The first quote ever added</a></p>
+
+<p><a href="author/1/">The first author ever added</a></p>
+
+<p><a href="search/">Search page for quotes</a></p>
+
+{% endblock %}