This repository is a template you can use to create a site with 11ty and Silex website builder
It conains an action to deploy on github pages automatically
Here is how to start:
- Fork this repository or click "use this template" (/!\ be sure to select "Include all branches")
- [If you host on github pages] Create a deploy token here with the access write
public_repo
. Then go to the settings of the website, in the "secret" section create a new secret, call itDEPLOY_TOKEN
and paste the token as its value - [Or if you deploy to Netlify] Add the repo to Netlify as a new website
- [If you host on github pages] In the settings of the website, "secret" section, create a new secret, call it
BASE_URL
and set its value to the name of your repository (e.g.11ty-boilerplate
) - Create a website with Stastic designer based on any template
- Publish your site from Stastic designer to github as 11ty layout
- Edit the file index.md, add
layout: YOUR_PAGE_NAME_IN_STASTIC
in the front matter like this:
---
permalink: /
layout: home
---
any content here
don't forget to replace `home` with the page name in Stastic