show_topic_navigation_links

NAML documentation   Watch a video
   Usages of this macro
... in show_topic_navigation_links.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<override_macro name="show_topic_navigation_links">
    <div style="margin:-1em 0 2em">
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.has_prev_topic
Binary
Namespace: NodeNamespace
>
            <then>
                <span style="float:right;white-space:nowrap">
                    <a href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.prev_topic
Binary
Namespace: NodeNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/]"><t>Later Post</t></a>
                    <sub class="weak-color" style="font-size:180%">&rsaquo;</sub>
                </span>
            </then>
        </n.if.page_node.topic_node.has_prev_topic>
 
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.has_next_topic
Binary
Namespace: NodeNamespace
>
            <then>
                <span style="float:left;white-space:nowrap">
                    <sub class="weak-color" style="font-size:180%">&lsaquo;</sub>
                    <a href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.next_topic
Binary
Namespace: NodeNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/]"><t>Earlier Post</t></a>
                </span>
            </then>
        </n.if.page_node.topic_node.has_next_topic>
        <div style="clear:both;height:0">&nbsp;</div>
    </div>
</override_macro>
Overrides default macro
... in thread_navigation.naml
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<macro name="show_topic_navigation_links">
    <div style="margin:-1em 0 2em">
        <n.if.page_node.topic_node.has_prev_topic>
            <then>
                <span style="float:left;white-space:nowrap">
                    <sub class="weak-color" style="font-size:180%">&lsaquo;</sub>
                    <a href="[n.page_node.topic_node.prev_topic.url/]"><t>Previous Topic</t></a>
                </span>
            </then>
        </n.if.page_node.topic_node.has_prev_topic>
 
        <n.if.page_node.topic_node.has_next_topic>
            <then>
                <span style="float:right;white-space:nowrap">
                    <a href="[n.page_node.topic_node.next_topic.url/]"><t>Next Topic</t></a>
                    <sub class="weak-color" style="font-size:180%">&rsaquo;</sub>
                </span>
            </then>
        </n.if.page_node.topic_node.has_next_topic>
        <div style="clear:both;height:0">&nbsp;</div>
    </div>
</macro>