run pnpm exec eleventy --serve from the /tglyn.ch directory
view at http://localhost:8080/
(or npx @11ty/eleventy --serve if using npm)
run DEBUG=Eleventy* pnpm exec eleventy --serve from the /tglyn.ch directory
view at http://localhost:8080/
run ELEVENTY_ENV=prod pnpm exec eleventy --serve from the /tglyn.ch directory
view at http://localhost:8080/
This activates the env.isProd condition, which filters blog posts according to their front matter properties:
published: falseposts won't be shown anywhere (completely hidden drafts)published: true, unlisted: trueposts will be accessible via direct URL but won't appear in any blog listings (like secret pages)published: trueposts (without unlisted or withunlisted: false) will be fully visible in all blog post listings
- delete the _site folder, cancel the above process and re-run it.
make a commit to master and push to github
- install nvm
- install latest version of node
- run
pnpm install(ornpm install) - then run the above
- git add .
- git commit -m "message"
- git push
- ' '
- check netlify but it should be deploying