app_meta

NAML documentation   Watch a video
   Usages of this macro
... in meta.naml
1
2
3
4
<override_macro name="app_meta" requires="node_page,servlet">
    <n.overridden/>
    <meta name="google-site-verification" content="iH2nbS3RaEBnvwYfjHRT4TD1HzPncTuV6LD8urCRFhk" />
</override_macro>
Overrides default macro
... in app.naml
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<macro name="app_meta" requires="node_page,servlet">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
>
        <condition>
            <n.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
                <condition1.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.app_index_record
Macro
Requires: servlet
/>
                <condition2.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.app_template
Macro
Requires: servlet
/]" value2="[n.app_default_template
Macro
/]"/>
            </n.both>
        </condition>
        <then>
            <n.app_meta_description
Macro
Requires: node_page
/>
            <n.app_meta_keywords
Macro
Requires: node_page
/>
        </then>
        <else>
            <META NAME="robots" CONTENT="noindex,follow"/>
        </else>
    </n.if>
</macro>