git.ithinksw.org
/
~kgodey
/
maayanwich.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a better slugify function, monthly archives work, notes are optional now.
[~kgodey/maayanwich.git]
/
templates
/
base.html
diff --git
a/templates/base.html
b/templates/base.html
index
56fab48
..
a910bb1
100644
(file)
--- a/
templates/base.html
+++ b/
templates/base.html
@@
-27,9
+27,9
@@
</ul>
<h3 class="navtitle">Sandwiches</h3>
<ul class="newest">
</ul>
<h3 class="navtitle">Sandwiches</h3>
<ul class="newest">
- <li>January 2010</li>
- <li>
February 2010
</li>
- <li>To be done.</li>
+ {% for m in monthly %}
+ <li>
<a href="http://127.0.0.1:8000/sandwich/{{ m.year }}/{{ m.month }}/"> {{ m|date:"F" }} {{m.year}} </a>
</li>
+ {% endfor %}
</ul>
<ul class="newest">
<li><a href="http://127.0.0.1:8000/sandwich/all/" class="navlink">All sandwiches</a></li>
</ul>
<ul class="newest">
<li><a href="http://127.0.0.1:8000/sandwich/all/" class="navlink">All sandwiches</a></li>