all_posts_js_array

NAML documentation   Watch a video
   Usages of this macro
... in topic.naml
659
660
661
662
663
664
665
666
667
668
669
670
671
672
<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>