show

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
363
364
365
366
367
368
369
370
371
372
<macro name="show" requires="paging_page" parameters="url">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_current_page
Binary
Namespace: Page
>
        <then>
            <span class="current-page medium-border-color"><n.page_number
Binary
Namespace: Page
/></span>
        </then>
        <else>
            <n.link
Macro
Requires: paging_page
Parameters: url
 url="[n.url/]" />
        </else>
    </n.if.is_current_page>
</macro>