Based on idyll-multipage-example
Our incredible CS112 wiki.
posts
- all of the available posts, each directory within contains a full idyll postcomponents
- shared components, can be used by any post. Each post also has its own components folder where you can put components that don't need to be shared.template
- the post template to use when you runidyll create
. Update this template with site specific styles, configuration, etc.index.idyll
- the root/index page for the blog. Note this is not autogenerated.docs
- the folder where the output is built. Deploy to any static hosting service (we name itdocs
so its easy to host on github pages).
- Make sure you have
idyll
installed (npm i -g idyll
). - Clone this repo and run
npm install
.
Navigate to the posts directory and run idyll create --template ../template/
Navigate to the post's directory and run idyll
.
Navigate to the post's directory and run idyll build
. The output will appear in the top-level docs
folder.
Make sure all of your posts have been built, then deploy the docs folder via any static hosting service.
You can install custom dependencies on a per-post basis by running yarn install
in the post directory.