[smug-devel] smug menu change
Status: Alpha
Brought to you by:
amcnabb
From: Andrew M. <amc...@mc...> - 2008-10-15 23:15:38
|
I made a change to the way that the smug menu works, now making it easier to customize how the menu appears in the template. Here's what the relevant part of my template now looks like: <div class="smugmenu"> <ul> {% for name, url in smugmenu %} <li><a href="{{ url }}">{{ name }}</a></li> {% endfor %} </ul> <div class="r"> Powered by <a href="http://www.mcnabbs.org/andrew/smug/">Smug</a> </div> </div> -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 |