Okay to number / list Home folder?

I’d like the home page to be listed in the menu.

<nav>
  <ul>
    <?php foreach ($site->children()->listed() as $item): ?>
      <li><a href="<?= $item->url() ?>"><?= $item->title() ?></a></li>
    <?php endforeach ?>
  </ul>
</nav>

In the Content folder should I number the home folder?

1_home
2_about
3_price
etc

Or should the name of the home folder be left as it is?

Its ok to list the home page, which make show up there. Atlernerativly you could use a stucture field in site.yml with a pages field in side it to control what appears in the menu. That would mean you can leave the numbering of the content as it ism without listng the home page. There are also a couple of plugin avaiable for controling menus.

Thanks

If your logo already links to the home page, you might want to reconsider having a separate link to the home page in the menu. This will result in two adjacent links to the same target, and unnecessarily clutter the main menu.

Yeah, I’ll have a think. The site is aimed at retired / older people, who might not know that the logo links to the homepage. Cheers

In that case if its aimed at older folks, who may or may not be using assitive techchnology like screen readers, it might be confusing / irratitating to hear the same link read out loud twice in a row. I would suggest a simple fix of taking the link off of the logo and leaving it to the link in the main menu.

Hey, good idea. Cheers