{literal} {/literal}
{*NEWS LIST*} {def $foldernode = fetch( 'content', 'node', hash('node_id', 66 ) ) $curdate=currentdate() $children=fetch( 'content', 'list', hash( 'parent_node_id', $foldernode.node_id, 'limit', 6, 'class_filter_type', 'include', 'class_filter_array', array('news'), 'attribute_filter', array( array( 'news/publish_date', '<=', $curdate ) ), 'sort_by', array( 'attribute', false(),'news/publish_date' ) ) ) } {if $children|count()}
{foreach $children as $child}
{*$curdate|datetime( 'custom', ' %d %M %y' )*} {$child.data_map.publish_date.value.timestamp|datetime( 'custom', '%n/%d/%Y' )} {$child.name|wash}
{/foreach}
{/if} {*End of the news list*}