I have my content arranges in folders where 'Resources' is the default folder and 'Eating Plan' is the child folder.
How do I get the title of the default folder dynamically? I am editing the content.html but none of the loops offer a straightforward way on getting this information.
I tried this the code below but there is an error I suspect because there is a $TITLE variable already existing from the outer loop.
{loop name="blog.content" type="content" id=$content_id limit="1"}
{loop type="folder" id=$DEFAULT_FOLDER depth=1}
<h1 id="main-label" class="page-header text-center">{$TITLE}</h1>
{/loop}
<div class="chapo">
<h3 class="text-center">{$TITLE}</h3>
</div>
{if $DESCRIPTION}
<div class="description">
{$DESCRIPTION nofilter}
</div>
{/if}
{/loop}
Your help will be highly appreciated