3 <link rel="stylesheet" href="http://127.0.0.1:8000/sandwiches/style.css" type="text/css">
4 <title>{% block title %}Ma'ayanwich Tracker{% endblock %}</title>
9 <h1 class="header">Ma'ayanwich Tracker</h1>
12 <h3 class="navtitle">Account</h3>
14 {% if user.is_authenticated %}
15 <li><a href="http://127.0.0.1:8000/sandwich/add/" class="navlink">Add sandwich</a></li>
16 <li><a href="http://127.0.0.1:8000/logout/" class="navlink">Logout</a></li>
18 <li><a href="http://127.0.0.1:8000/login/" class="navlink">Login</a></li>
19 <li><a href="http://127.0.0.1:8000/signup/" class="navlink">Signup</a></li>
22 <h3 class="navtitle">Newest</h3>
24 {% for s in sandwiches %}
25 <li><a href="{{ s.get_absolute_url }}">{{ s.adjective }}</a></li>
28 <h3 class="navtitle">Sandwiches</h3>
30 {% for m in monthly %}
31 <li><a href="http://127.0.0.1:8000/sandwich/{{ m.year }}/{{ m.month }}/"> {{ m|date:"F" }} {{m.year}} </a></li>
35 <li><a href="http://127.0.0.1:8000/sandwich/all/" class="navlink">All sandwiches</a></li>