Give the home page its layout
The front page shows its own layout, not the default one.
Life cycle: Launch, example 1 of 33. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Layouts > Layout mappings > New mapping; Link layout: Landing Page / Home; Priority: the highest of the site (210 on Fit & Healthy).
- Target: Location with the site root (Fit & Healthy, node 89), Add target.
- Add mapping.
The resolver treats the address / (and home) as the siteaccess' index page ([SiteSettings] IndexPage, /content/view/full/89 here).
With templates
- Without Layouts, the front page is the full view of its class (NG Frontpage) through
override.ini.
Which to choose
Layouts: the home page changes often and is composed of many blocks (28 on Fit & Healthy).
Check
- The front page source has the home layout's blocks;
exp:layouts listshows Rules 2 for Landing Page / Home.
Related pages
- Which layout does a page get?
- Launch examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.