Check every page type by its markup
A one-minute check that each page type renders its layout.
Life cycle: Launch, example 11 of 33. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- In the editor, compare the blocks of the layout with what the page shows.
On the command line
- For each page type, request one page and look for its markers:
curl -s https://www.example.com/fitness | grep -o 'zone zone-[a-z_]*' | sort -u
curl -s https://www.example.com/fitness | grep -c 'ngl-block '
curl -s https://www.example.com/ | grep -o 'menu-item-main_menu-location-id-[0-9]*'Which to choose
The script runs after every deploy; the editor comparison when something is missing.
Check
- Every page type has
zone-header,zone-mainandzone-footersections and a plausible block count.
Related pages
- Why doesn't my change appear?
- 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.