... | in homepage.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
<macro name="view_homepage">
<n.app_html>
<head>
<n.app_title/>
</head>
<body>
<n.if.root_node.has_child_topics>
<then>
<div class="post-message">
<n.homepage_node.node_message_as_html/>
</div>
</then>
<else>
<n.root_node.new_topic_link text="Create Homepage"/>
</else>
</n.if.root_node.has_child_topics>
</body>
</n.app_html>
</macro>
|