Next 4.1 Template syntax Prev

Template syntax

<{ get_name }>                     # name of the current component

<a href="photos/<{ nick &escape_page_name }>.jpg"><{nick}></a>

<{ container get_name }>           # name of the parent component

<{ container container get_id }>   # id of the grand-parent

<{ has_property('english_name') ? english_name : name &translate }>

<h1><{ title &htmlize }></h1>
<div class="body"><{ body_as_html }></div>

Articles: <ul>
<{articles get_all ({
    <li><a href="<{&link}>"><{title &htmlize}></a>
})}>
</ul>

Next Content Management with Podius Prev