blog_post_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 "blog_post_header".
... in blog_post_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
29
30
31
<override_macro name="blog_post_header" requires="node">
    <div class="blog-header shaded-bg-color">
        <n.if.is_pinned_in_loop>
            <then>
                <div class="pinned"></div>
            </then>
        </n.if.is_pinned_in_loop>
        <div class="blog-date weak-color">
            <n.when_created.date_only/>
        </div>
        <div class="blog-title second-font adbayes-content">
            <n.jsm_gallery_node_link/>
           <!-- coluna star removida pela Nabble em março 2014 <n.star/> -->
        </div>
        <table class="blog-details weak-color">
            <tr>
                <td class="nowrap">
                    <n.owner.avatar size="small" border_class="medium-border-color"/>
                </td>
                <td class="nowrap">
                    <t>by <t.author.owner.name truncate="20"/></t>
                    @
                    <n.when_created.time_only/>
                    <n.if.is_in_subapp>
                        <then><t>in <t.location.italic.subapp_link_on_hover/></t></then>
                    </n.if.is_in_subapp>
                </td>
            </tr>
        </table>
    </div>
</override_macro>
Overrides default macro
... in view_blog.naml
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<macro name="blog_post_header" requires="node">
    <div class="blog-header shaded-bg-color">
        <n.if.is_pinned_in_loop>
            <then>
                <div class="pinned"></div>
            </then>
        </n.if.is_pinned_in_loop>
        <div class="blog-date weak-color">
            <n.when_created.date_only/>
        </div>
        <div class="blog-title second-font adbayes-content">
            <n.node_link/>
        </div>
        <table class="blog-details weak-color">
            <tr>
                <td class="nowrap">
                    <n.owner.avatar size="small" border_class="medium-border-color"/>
                </td>
                <td class="nowrap">
                    <t>by <t.author.owner.name truncate="20"/></t>
                    @
                    <n.when_created.time_only/>
                    <n.if.is_in_subapp>
                        <then><t>in <t.location.italic.subapp_link_on_hover/></t></then>
                    </n.if.is_in_subapp>
                </td>
            </tr>
        </table>
    </div>
</macro>