Added a better slugify function, monthly archives work, notes are optional now.
[~kgodey/maayanwich.git] / templates / onesandwich.html
index 1158a43..bc3c013 100644 (file)
@@ -14,6 +14,8 @@
                        <li>{{ i.name }}
                {% endfor %}
        </ul>
-       <h4 class="sandwichsub">Notes</h5>
-       <p class="sandnotes"> {{ s.notes }}</p>
+       {% if s.notes %}
+               <h4 class="sandwichsub">Notes</h5>
+               <p class="sandnotes"> {{ s.notes }}</p>
+       {% endif %}
 {% endblock %}
\ No newline at end of file