docs: (#2075) add Template Hierarchy to Main Features section#2322
Conversation
Template Hierarchy is a core feature of Faust.js that automatically resolves WordPress content to the correct Next.js template, mirroring the classic PHP template hierarchy. It was missing from the Main Features table on the introduction page despite being central to how developers build with Faust. Closes wpengine#2075
|
Currently, we do not support the creation of preview deployments based on changes coming from forked repositories. |
|
|
Currently, we do not support the creation of preview deployments based on changes coming from forked repositories. |
Description
The Main Features table on the introduction page (
docs/index.md) lists Authentication, Block Components, and Post Preview — but not Template Hierarchy, which is arguably the backbone of Faust.js. As the issue author noted, it's the main reason many developers use Faust and the best way for existing WordPress developers to understand the framework.Added Template Hierarchy as the first row in the table, linking to the seed query explanation doc which covers how Faust resolves WordPress content to Next.js templates.
Related Issues
Closes #2075
Testing
Confirm the issue (before the fix)
1. Verify Template Hierarchy is missing from the features table:
Confirm the fix
2. Verify Template Hierarchy is now listed:
3. Verify the link target exists:
ls docs/explanation/seed-query/index.md # Expected: file exists