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
/
onesandwich.html
diff --git
a/templates/onesandwich.html
b/templates/onesandwich.html
index
1158a43
..
bc3c013
100644
(file)
--- a/
templates/onesandwich.html
+++ b/
templates/onesandwich.html
@@
-14,6
+14,8
@@
<li>{{ i.name }}
{% endfor %}
</ul>
<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
{% endblock %}
\ No newline at end of file