This page demonstrates the inclution of partials in the form of page content and layout files.
Layouts are found in the layout folder. Panini automatically looks in this folder for any layouts referenced in the page html and feeds the page content into the layout. There is no need to reference the default layout in the page content since,... wait for it,... it looks for and used the default layout - by default! However to use a layout other than the default layout, you must reference that layout in the front matter of the page.
This page demonstrates the inclution of partials in the form of header and footer.
These partials are found in the partials folder. Panini automatically looks in this folder for any partials referenced in the page html and feeds in the content of that partial.
Working with alot of partials will lead to a messy partials folder however you can include partials from sub-folders, Panini will automatically search through the partials folder heirarchy looking for any paritals referenced in a given page...
# One
## Two
### Three