I am using a structure for all of my site's pages (single pages and channel index pages). The structure settings are as follows:
URL for Top-Level Entries:
{slug}
URL for Nested Entries:
{parent.uri}/{slug}
Entry Template:
_pages/_entry.html
Additionally I set up multiple entry types for the structure to relate the pages with individual templates (basically as described in the FAQs). This is my _entry.html
:
{% include '_pages/_types/' ~ entry.type %}
This all works great for me [*], but now I'd like to further improve the template setup by adding my site's home page to the structure, too. With a single section I can simply trigger the option "this is the home page" in the section's settings, but how can I tell an entry of my pages structure to be my home page?
[*]: I can generate my site's main navigation from this structure (nice!) and all channels' index pages have entry slugs now, which is incredibly helpful in a multi-lingual Craft setup, if you want to translate your slugs.