{if $pointings_legend}
	{foreach from=$pointings_legend item=item name=foo}
    	{usecontent node=$item.node}
		{if $smarty.foreach.foo.last}end{/if}
		{$title}
	    {/usecontent}
	{/foreach}
{/if}