news_sidebar_widget

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 "news_sidebar_widget".
... in news_sidebar_widget.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<override_macro name="news_sidebar_widget">
    <n.widget.>
        <div class="sidebar-section shaded-custom1">
            <n.app_topic_pagination margin=".2em .5em"/>
            <n.if.equal value1="[n.page_node.id/]" value2='525' >
                        <then>
            <h1 class="news-header">
                <t></t>
            </h1>
                </then>
                <else>
                    <h2 class="news-header">
                <t>Recent Topics</t>
                <span class="weak-color topic-count">
                    (<n.app_topic_count/>)
                </span>
            </h2>
            </else>
            </n.if.equal>
        </div>
        <n.news_table/>
        <n.app_topic_pagination margin=".5em .3em"/>
    </n.widget.>
</override_macro>
Overrides default macro
... in view_news.naml
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<macro name="news_sidebar_widget">
    <n.widget.>
        <div class="sidebar-section shaded-bg-color">
            <n.app_topic_pagination margin=".2em .5em"/>
            <h2 class="news-header">
                <t>Topics</t>
                <span class="weak-color topic-count">
                    (<n.app_topic_count/>)
                </span>
            </h2>
        </div>
        <n.news_table/>
        <n.app_topic_pagination margin=".5em .3em"/>
    </n.widget.>
</macro>