NOTE: THIS IS DEFUNCT. NOW AT https://github.com/reedspool/reeds-website
- Eleventy
- Netlify
eleventy.config.jsSee https://www.11ty.dev/docs/config/static/contains a file structure which will be copied verbatim to the deployment. Things directly understatic/will be available at the root of the website, e.g.static/404.htmlis available atreeds.website/404.404.htmlBy default, Netlify serves this page for any 404 errors.
src/contains the source tree for dynamically generated pages.dist/will appear if you runnpm run build, containing the production build.
- Clone this repository
npm installto install Node dependencies, such as Eleventy.npm startto run Eleventy’s development server.- This will watch for changes, rebuild changed pages, and automatically reload the browser!
- Navigate to the URL in the terminal to view the running site.
Netlify takes care of deployment. Whenever a push to the master branch occurs, Netlify will automatically build and deploy the site.
If you’d like to see a local preview of the deployment build, run npm run build and load dist/index.html in your browser.