all_posts_js_array

NAML documentation   Watch a video
   Usages of this macro
... in topic.naml
648
649
650
651
652
653
654
655
656
657
658
659
660
661
<macro name="all_posts_js_array">
    <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.post_list
Binary
Namespace: NodeNamespace
Parameters: length, start, sort, do
.
        sort="date-ascending"
        start="0"
        length="10000"
    >
        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_first_element
Binary
Namespace: ListSequence
>
                <then>,</then>
            </n.if.not.is_first_element>
            <n.current_node
Binary
Namespace: NodeList
Parameters: do
.id
Binary
Namespace: NodeNamespace
/>
        </n.loop.>
    </n.page_node.post_list.>
</macro>