... | in app_page.naml |
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<macro name="list_child_topics" parameters="section_title" requires="node">
<n.children_list. start="0" length="100" sort="pinned-and-root-node-date" filter="[n.post_filter/]">
<n.if.not.list_is_empty>
<then>
<h2><n.section_title/></h2>
<div style="margin:0 0 1.5em 2em;">
<n.loop.>
<div style="padding:.3em 0">
<n.current_node.node_link/>
</div>
</n.loop.>
</div>
</then>
</n.if.not.list_is_empty>
</n.children_list.>
</macro>
|