... | 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
♦ ♦ 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>
</macro>
|
Free forum by Nabble | Edit this page |