prev_topic

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "prev_topic".
... in next_prev_topic.naml
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<macro name='prev_topic'>
    <n.page_node.get_app_node.children_list. start="0" length="1000"
    filter="[n.app_topic_filter/]"
    sort="[n.if.app_is_by_priority][then]priority[/then][else]pinned-and-last-node-date[/else][/n.if.app_is_by_priority]" >
        <n.loop.>           
            <n.if.equal value1="[n.current_node.id/]" value2="[n.page_node.id/]">                
                <then>                   
                    <a href="[n.var name='last_url'/]"><img src="/images/left.png" width="20" height="25" align="absmiddle" alt="Prev"/>Prev</a>
                    <n.break/>                  
                </then>  
            </n.if.equal>
            <n.set_var. name='last_url'><n.current_node.url/></n.set_var.>           
        </n.loop.>
    </n.page_node.get_app_node.children_list.>
</macro>