node_breadcrumbs

   Usages of this macro
... in shared_design.naml
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<override_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.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_root
Binary
Namespace: NodeNamespace
/]" condition2="[n.not
Binary
Namespace: BasicNamespace
Parameters: condition
.parent_node
Binary
Namespace: NodeNamespace
Parameters: do
.is_root
Binary
Namespace: NodeNamespace
/]">
          <then>
            <n.ancestors_list
Binary
Namespace: NodeNamespace
Parameters: do, order
. order="reverse">
              <n.loop
Macro
Requires: sequence
Parameters: by, do
. by="2">
                <n.current_node
Binary
Namespace: NodeList
Parameters: do
.node_link
Macro
Requires: node
Parameters: text, href, title, class
/>
                <span> &rsaquo; </span>
              </n.loop.>
            </n.ancestors_list.>    
            <n.node_link
Macro
Requires: node
Parameters: text, href, title, class
/>
          </then>
        </n.if.both>
      </n.get_app_node.>
    </then>
  </n.if.is_in_app>
</override_macro>
Overrides default macro
... in utilities.naml
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<macro name="node_breadcrumbs" requires="node">
    <n.if.is_in_app>
        <then>
            <n.get_app_node.>
                <n.ancestors_list. order="reverse">
                    <n.loop.>
                        <n.current_node.node_link/>
                        <span> &rsaquo; </span>
                    </n.loop.>
                </n.ancestors_list.>
                <n.node_link/>
            </n.get_app_node.>
        </then>
    </n.if.is_in_app>
</macro>