Give one page its own layout
The Contact page gets a layout with a map, other pages of its class do not.
Life cycle: Launch, example 3 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: the layout for the page; Priority: a priority above the general mappings.
- Target: Location with the page, or Path with its URL without the leading slash (
contact), Add target. - Add mapping.
The campaign walkthrough used a Path target spring-2027 at priority 2500 (Build a campaign page, start to finish).
With templates
override.iniwithMatch[node]=<id>orMatch[remote_id]=<remote id>(the theme's tour page usesMatch[remote_id]=showcase-s1-tour).
Which to choose
Path targets are easy to read; Location targets survive a change of the URL.
Check
- Only that page has the layout.
Related pages
- Which layout does a page get?
- Build a campaign page, start to finish
- 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.