node_breadcrumbs

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<macro name="node_breadcrumbs" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_app
Binary
Namespace: NodeNamespace
>
        <then>
            <n.get_app_node
Binary
Namespace: NodeNamespace
Parameters: do
.>
                <n.ancestors_list
Binary
Namespace: NodeNamespace
Parameters: do, order
. order="reverse">
                    <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                        <n.current_node
Binary
Namespace: NodeList
Parameters: do
.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
/>
                        <span> &rsaquo; </span>
                    </n.loop.>
                </n.ancestors_list.>
                <n.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
/>
            </n.get_app_node.>
        </then>
    </n.if.is_in_app>
</macro>