smart_post_link_last_post

NAML documentation   Watch a video
   Usages of this macro
... in smart_post_link_last_post.naml
1
2
3
4
5
6
7
8
9
<macro name="smart_post_link_last_post" requires="node" dot_parameter="href" parameters="text, title, class">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_post
Binary
Namespace: NodeNamespace
>
        <then>
            <small><small><n.node_text
Macro
Requires: node
Parameters: text
.text/> ~ </small></small><a href="[n.node_href
Macro
Requires: node
Parameters: href
.href/]" title="[n.title/]" class="[n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.class/] post-link[n.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.id
Binary
Namespace: NodeNamespace
/]" node-id="[n.id
Binary
Namespace: NodeNamespace
/]"><n.node_text
Macro
Requires: node
Parameters: text
.title/></a>
            <n.call_later
Binary
Namespace: NabbleNamespace
Parameters: param, value
 value="[n.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.id
Binary
Namespace: NodeNamespace
/]" param="markUnreadTopics"/>
        </then>
        <else.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
 text="[n.title/]"/> 
    </n.if.is_post>
</macro>
Feedback, Links, Privacy, Rules, Support, About