11ty-simple-page-post-creator
A simple cli to create posts or pages with 11ty.
To install run npm i @oscarcampos/11ty-simple-page-post-creator --save-dev
The to run 11ty-simple-page-post-creator
and follow the prompts:
- What type of page would you like to create? Page/Blog
- Enter a Title for your Blog/Page:
Pages use the templating engine njk
and are created at the root
Blogs use the templating engine md
and are created under posts directory