topic_html

NAML documentation   Watch a video
   Usages of this macro
... in topic_html.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<override_macro name="topic_html" requires="servlet">
    <n.topic_min_html
Macro
Requires: servlet
Parameters: head, body
>
        <head>
            <script async="true" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-6750305871516672", enable_page_level_ads: true }); </script>
            <n.topic_common_head
Macro
/>
            <n.topic_head
Macro
Requires: classic_view_namespace
/>
            <n.topic_meta
Macro
Requires: node_page, servlet
/>
            <n.increment_view_count
Macro
Requires: node_page, servlet
/>
        </head>
        <body>
            <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_hardcoded_notices
Macro
Requires: node_page
/>
            <n.newsflash
Macro
/>
            <n.topic_header
Macro
/>
            <n.topic_controls
Macro
Requires: forum_topic_namespace
/>
            <n.topic_contents
Macro
Requires: forum_topic_namespace
Parameters: contents
.view_contents
Macro
Requires: classic_view_namespace
Parameters: rows
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_rows
Macro
Requires: node, forum_topic_namespace, classic_view_namespace
/>
            <n.topic_footer
Macro
/>
        </body>
    </n.topic_min_html>
</override_macro>
Overrides default macro
... in topic.naml
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<macro name="topic_html" requires="servlet">
    <n.topic_min_html>
        <head>
            <n.topic_common_head/>
            <n.topic_head/>
            <n.topic_meta/>
            <n.increment_view_count/>
        </head>
        <body>
            <n.page_node.topic_hardcoded_notices/>
            <n.newsflash/>
            <n.topic_header/>
            <n.topic_controls/>
            <n.topic_contents.view_contents.page_node.topic_rows/>
            <n.topic_footer/>
        </body>
    </n.topic_min_html>
</macro>