... | in app.naml |
411 412 413 414 415 416 417 418 419 420 421 422 423 424
|
<macro name="path" parameters="template,index_record,date" requires="node">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<then>
<n.app_path Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
template="[n.template/]"
index_record="[n.index_record/]"
date="[n.date/]"
/>
</then>
<else>
<n.post_path Binary Namespace: NodeNamespace
♦ ♦
</else>
</n.if.is_app>
</macro>
|
Free forum by Nabble | Edit this page |