topic_contents

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "topic_contents".
... in topic_contents.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<override_macro name="topic_contents" dot_parameter="contents" requires="blog_topic_namespace">
    <div id="comment-section">
        <n.if.page_node.has_replies>
            <then>
                <h2 class="second-font big-title" style="margin-bottom: .5em">
                    <n.one_or_many.page_node.replies>
                        <one_text><t>Comment</t></one_text>
                        <many_text><t>Comments</t></many_text>
                    </n.one_or_many.page_node.replies>
                </h2>
                <n.view_selectors/>
            </then>
        </n.if.page_node.has_replies>
 
        <n.topic_contents_div.contents/>
 
        <n.comment.>
        <n.add_new_comment_link/>
        </n.comment.>
    </div>
</override_macro>
Overrides default macro
... in topic.naml
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
<macro name="topic_contents" dot_parameter="contents" requires="blog_topic_namespace">
    <div id="comment-section">
        <n.if.page_node.has_replies>
            <then>
                <h2 class="second-font big-title" style="margin-bottom: .5em">
                    <n.one_or_many.page_node.replies>
                        <one_text><t>Comment</t></one_text>
                        <many_text><t>Comments</t></many_text>
                    </n.one_or_many.page_node.replies>
                </h2>
                <n.view_selectors/>
            </then>
        </n.if.page_node.has_replies>
 
        <n.topic_contents_div.contents/>
 
        <n.add_new_comment_link/>
    </div>
</macro>