topic_path

   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 "topic_path".
... in topic.naml
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
<macro name="topic_path" parameters="view,index_record,selected_id" requires="node">
    <n.set_var. name="index_record">
        <n.to_null_if. equals="0">
            <n.index_record/>
        </n.to_null_if.>
    </n.set_var.>
    <n.remove_spaces.>
        /<n.url_encoded_subject/>
        -t<n.view_char view="[n.view/]"/><n.id/>
        <n.hide_null.prepend. prefix="i"><n.var name="index_record"/></n.hide_null.prepend.>
        .html
        <n.if>
            <condition.both>
                <condition1><n.not.is_null.selected_id/></condition1>
                <condition2><n.not.equal value1="[n.id/]" value2="[n.selected_id/]"/></condition2>
            </condition.both>
            <then>
                #a<n.selected_id/>
            </then>
        </n.if>
    </n.remove_spaces.>
</macro>