samui-fixit

Samui Fixit — Eleventy + Netlify CMS scaffold

This repository was scaffolded to use Eleventy (11ty) as a static site generator and Netlify CMS for easy, non-Git admin editing.

Quick start (local):

npm install
npm run start    # local dev, Eleventy server
npm run build    # build static site into _site/

You can run npm run build any time to generate production files in _site/. To preview the production build locally, npm run start will serve from _site after building.

Deploying

After deployment you’ll also need to configure your authentication/provider for Netlify CMS so editors can log in and manage content.

Netlify setup (publish + admin):

  1. Push repository to GitHub.
  2. On Netlify: “New site from Git” → connect this repo.
  3. In Site settings → Build & deploy: Build command npm run build, Publish directory _site.
  4. Enable Identity (Netlify Identity) and then go to Identity > Services > enable Git Gateway.
  5. Visit https://<your-site>.netlify.app/admin/ to log in and create posts.

Notes: