Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geotrev/eleventy-skeleton
make a static website using 11ty. no dependencies required.
https://github.com/geotrev/eleventy-skeleton
11ty css eleventy html netlify ssg static
Last synced: 4 months ago
JSON representation
make a static website using 11ty. no dependencies required.
- Host: GitHub
- URL: https://github.com/geotrev/eleventy-skeleton
- Owner: geotrev
- Created: 2021-03-28T03:14:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-29T17:28:13.000Z (almost 4 years ago)
- Last Synced: 2024-10-05T13:20:07.914Z (4 months ago)
- Topics: 11ty, css, eleventy, html, netlify, ssg, static
- Language: CSS
- Homepage:
- Size: 13.7 KB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eleventy Skeleton
Inspired by [Possibly the Easiest Way to Run An SSG](https://css-tricks.com/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](https://egghead.io/lessons/11ty-add-sass-compiling-and-watch-for-changes-in-eleventy-11ty)
3. [Add HTML templating](https://www.11ty.dev/docs/languages/)
4. [Add JS transpilation/webkit](https://statickit.com/guides/eleventy-webpack)
5. [Add favicons/device icons](https://www.favicon-generator.org/)
6. [Add a sitemap](https://developers.google.com/search/docs/advanced/sitemaps/build-sitemap)
7. [Configure eleventy](https://www.11ty.dev/docs/watch-serve/)## Commands
These commands assume you're in a unix environment, but they should work anywhere `npx`/`npm` is available.
### Develop
```sh
$ npx @11ty/eleventy --serve
```### Build
```sh
$ 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. 🎉