https://github.com/lexoyo/11ty-boilerplate
Minimal files for a self-deploying 11ty site compatible to work with https://design.stastic.net/
https://github.com/lexoyo/11ty-boilerplate
11ty silex stastic static static-site-generator
Last synced: about 1 month ago
JSON representation
Minimal files for a self-deploying 11ty site compatible to work with https://design.stastic.net/
- Host: GitHub
- URL: https://github.com/lexoyo/11ty-boilerplate
- Owner: lexoyo
- Created: 2020-11-04T16:30:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T06:36:40.000Z (almost 5 years ago)
- Last Synced: 2025-04-02T23:42:27.184Z (about 1 year ago)
- Topics: 11ty, silex, stastic, static, static-site-generator
- Language: JavaScript
- Homepage: https://design.stastic.net/
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[This repository](https://github.com/lexoyo/11ty-boilerplate) is a template you can use to create a site with [11ty](https://11ty.dev) and [Silex website builder](https://www.silex.me) with the Stastic instance provided by [Internet 2000 agency](https://internet2000.net) (more [info about this fork of Silex here](http://silex.me/instances/#list))
It conains an action to deploy on github pages automatically
Here is how to start:
1. Fork [this repository](https://github.com/lexoyo/11ty-boilerplate) or click "use this template" (/!\ be sure to select "Include all branches")
1. \[If you host on github pages\] Create a [deploy token here](https://github.com/settings/tokens) with the access write `public_repo`. [Then go to the settings of the website, in the "secret" section create a new secret](../../settings/secrets/actions/new), call it `DEPLOY_TOKEN` and paste the token as its value
1. \[Or if you deploy to Netlify\] Add the repo to Netlify as a new website
1. \[If you host on github pages\] [In the settings of the website, "secret" section, create a new secret](../../settings/secrets/actions/new), call it `BASE_URL` and set its value to the name of your repository (e.g. `11ty-boilerplate`)
1. Create a website with [Stastic designer](https://design.stastic.net/) based on any template
1. Publish your site from Stastic designer to github as 11ty layout
1. Edit the file [index.md](./index.md), add `layout: YOUR_PAGE_NAME_IN_STASTIC` in the front matter like this:
```md
---
permalink: /
layout: home
---
any content here
don't forget to replace `home` with the page name in Stastic
```