html

NAML documentation   Watch a video
   Usages of this macro
... in html.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
<override_macro name="html" parameters="head,body">  
    <n.html_impl
Macro
Requires: servlet
Parameters: head, body
>  
        <head>  
            <link rel="shortcut icon" href="https://lh4.googleusercontent.com/-hyuUdHSsVUo/VIyaCUrcKzI/AAAAAAAAAW8/7VPkpDu9-qs/s552-no/Sin%2Bt%C3%ADtulo2.png" type="image/x-icon" />  
            <n.head/>  
        </head>  
        <body>  
            <n.top_bar
Macro
/>  
            <n.body/>  
            <n.nabble_footer
Macro
/>  
        </body>  
    </n.html_impl>  
</override_macro>
Overrides default macro
... in utilities.naml
3
4
5
6
7
8
9
10
11
12
13
14
<macro name="html" parameters="head,body">
    <n.html_impl>
        <head>
            <n.head/>
        </head>
        <body>
            <n.top_bar/>
            <n.body/>
            <n.nabble_footer/>
        </body>
    </n.html_impl>
</macro>