Skip to content

make a static website using 11ty. no dependencies required.

Notifications You must be signed in to change notification settings

geotrev/eleventy-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eleventy Skeleton

Inspired by Possibly the Easiest Way to Run An SSG.

No dependencies. No plugins. No preprocessors. Just make a static website.

Out of the box Netlify deploys. Includes mini CSS reset by Eric Meyer.

Increase your power levels

  1. Add sass
  2. Add HTML templating
  3. Add JS transpilation/webkit
  4. Add favicons/device icons
  5. Add a sitemap
  6. Configure eleventy

Commands

These commands assume you're in a unix environment, but they should work anywhere npx/npm is available.

Develop

$ npx @11ty/eleventy --serve

Build

$ npx @11ty/eleventy

Netlify

First, enable your Eleventy Skeleton repo on Netlify's interface.

When prompted, clear the build and publish fields (that's what your netlify.toml is for). Then set your deploy branch (e.g., main).

Now each time you push to your deploy branch you'll also deploy your most recent changes. 🎉