HTML Attributes Are So Yawny
[? HTML_CMDS div ul li a ?] [% menu = [ { text => 'One', link => 'one.html' }, { text => 'Two', link => 'two.html' }, { text => 'Three', link => 'three.html' }, ] %] [% div[id="header"] # goodness me, this ul[class="menu"] # is a bit tedious! for menu li a[href=item.link] item.text %] --EOF--look inside...
Thus Spake Andy:
Web pages these days have all this new fangled CSS and JS stuff going on. You tend to define lots of element classes and a fair few IDs. This can be a bit tedious...