-
-
Notifications
You must be signed in to change notification settings - Fork 542
Closed
Labels
educationopen-questionRequires additional information before we can proceed.Requires additional information before we can proceed.
Description
The config page says -
DIRECTORY FOR INCLUDES
Controls the directory inside which the template includes/extends/partials/etc can be found.
Includes Directory Object Key dir.includes Default _includes Valid Options Any valid directory inside of dir.input Command Line Override None
While the templating page says -
This will look for a mylayout.njk Nunjucks template file in your _includes folder (_includes/mylayout.njk). You can use any template type in your layout—it doesn’t have to match the template type of the content. An ejs template can use a njk layout, for example.
There is a lot of confusion when we see these 2 together - they are contradicting.
the includes
setting tin the config should be renamed to _templates
or something as it causes a lot of confusion and the documentation should be updated in the relevant places.
Metadata
Metadata
Assignees
Labels
educationopen-questionRequires additional information before we can proceed.Requires additional information before we can proceed.