AnsweredAssumed Answered

Displaying articles in menu

Question asked by lemmy on Feb 24, 2011
Latest reply on Feb 28, 2011 by bremmington

I'd like to show articles in the menu. Assuming I'm having a section 'news' which doesn't contain subsections but a couple of articles news1, news2 and news3. In the menu item news these articles should be displayed as sub items. I've learned that the menu is rendered by the file:


It's macro outputMenu list the sections. I've read the wiki about Freemarker but a peace is missing in my understanding:

Where are these keyword like section, section.title etc. defined?
Is there a list of these keywords and attributes available?

I'm talking about something like:

<#list section.articles as article>
    <li><a href="${url.context}${article.path}"><#if article.title?? && article.title?length gt 0>${article.title}<#else>${}/#if></a>