Skip to content

3.14.0 - Archetypes feature

Choose a tag to compare

@ArnaudLigny ArnaudLigny released this 15 Nov 16:43
· 4995 commits to master since this release
7744b46

#178

An Archetype is a page model.

When you create a new page with phpoole newpage command, you can specify the file path like blog/new-post.

In this case, PHPoole will search for a model file in archetypes directory and use it if exist.

In our previous example it will search archetypes/blog.md file and use its content to create your new page.