Skip to content

geotrev/eleventy-skeleton

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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. 🎉