layout.naml
<macro name="column_layout" dot_parameter="columns">
<n.put_in_head.>
<style type="text/css">
#columns {
margin-top:1em;
}
#columns .column {
float: left;
margin:0;
padding:0;
overflow-x:hidden;
}
#columns .widget {
margin: 0 .5em 1em .5em;
}
</style>
</n.put_in_head.>
<div id="columns">
<n.columns/>
</div>
</macro>
<macro name="column" dot_parameter="contents" parameters="width">
<div class="column" style="[n.width_style.width/]">
<n.contents/>
</div>
</macro>
<macro name="widget" dot_parameter="contents" parameters="title">
<div class="widget">
<n.contents/>
</div>
</macro>