... | in app_meta.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<override_macro name="app_meta" requires="node_page,servlet">
<meta name="google-site-verification" content="SUurO4gVJ46SZyzANkH4pJBGH8q-6Bv5P-ZgRBH8Cck" />
<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
♦ ♦ Macro Requires: servlet
♦ ♦
<condition2.equal Binary Namespace: BasicNamespace
Parameters:
value2, value1
♦ ♦ Macro Requires: servlet
♦ ♦ 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>
</override_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>
<condition>
<n.both>
<condition1.is_null.app_index_record/>
<condition2.equal value1="[n.app_template/]" value2="[n.app_default_template/]"/>
</n.both>
</condition>
<then>
<n.app_meta_description/>
<n.app_meta_keywords/>
</then>
<else>
<META NAME="robots" CONTENT="noindex,follow"/>
</else>
</n.if>
</macro>
|
Free forum by Nabble | Edit this page |