topic_header

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_header".
... in topic_header.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
25
26
27
28
<override_macro name="topic_header">
        <div id="headercontainer" style="position: -webkit-sticky;position: sticky;top: 0;background:rgba(255,255,255, 1); height: 10%;z-index : 1" >
            <div id="description-box" class="adbayes-content">
                <a href="https://acceptbc.ca">
                    <img id="toplogo" src="https://imgur.com/mL6BzHt.jpg" border="0" align="left" style="display:inline; width:18%; height:auto" title ="点击logo回到主页"/>
                </a>
                <div style="text-align:right; vertical-align: top;">
                    <n.user_header/>
                </div>
 
            </div>
        
            <div id="topic-search-box" class="search-box float-right" style="padding:.5em 0">
                <n.page_node.search_box/>
            </div>
 
        </div>
    <img class="banner" src="https://imgur.com/SpV9ypX.jpg" style="width:100%; margin-top:30px; "/>
    
    
    <div id="feedcontainer">
        <div id="rss-feeds"></div>
    </div>
    <h1 id="post-title" class="adbayes-content" style="margin:0.25em 0 .8em; padding-top:10px;  padding-left: 0.5%; color: dimgrey; font-family: STFangSong; font-weight: bold;">
        <n.break_up.page_node.subject/>
    </h1>
    <n.page_node.return_to_link/>
</override_macro>
Overrides default macro
... in topic.naml
1228
1229
1230
1231
1232
1233
1234
1235
1236
<macro name="topic_header">
    <div id="topic-search-box" class="search-box float-right" style="padding:.5em 0">
        <n.page_node.search_box/>
    </div>
 
    <h1 id="post-title" class="adbayes-content" style="margin:0.25em 0 .8em">
        <n.break_up.page_node.subject/>
    </h1>
</macro>