Articles Anywhere

Nestes Articles in nested ul (ol) lists

4 months 1 week ago #89636

Octav A's Avatar Octav A

Hello,
After about 1 month of trials i can use nested articles, which is nice.
I can put them in divs and other. Now I am trying to put them in nested ul unsuccessfully. Please, can you write the exact syntax to display nested articles in nested ul like this:

<ul>
  <li>Netherlands
  <ul>
      <li>Amsterdam</li>
      <li>Eindhoven</li>
    </ul>
  <li>Belgium
    <ul>
      <li>Brussels</li>
      <li>Antwerpen</li>
    </ul>
  </li>
  <li>Germany
     <ul>
      <li>Berlin</li>
      <li>Cologne</li>
    </ul>
</ul>
Thanks for your time

4 months 1 week ago #89638

Peter van Westen's Avatar Peter van Westen Admin

4 months 1 week ago #89639

Andrea Malalana's Avatar Andrea Malalana Moderator

<ul>
{articles}
<li>[title]
      <ul>
      {articles-nested}
      <li>[title]</li>
      {/articles-nested}
      </ul>
</li>
{/articles}
</ul>