{"id":13858911,"url":"https://github.com/josephdyer/skeleventy","last_synced_at":"2025-04-06T10:14:14.037Z","repository":{"id":51370164,"uuid":"170149031","full_name":"josephdyer/skeleventy","owner":"josephdyer","description":"A skeleton boilerplate built with Eleventy.","archived":false,"fork":false,"pushed_at":"2021-05-13T04:47:15.000Z","size":2036,"stargazers_count":390,"open_issues_count":0,"forks_count":84,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-30T09:08:23.417Z","etag":null,"topics":["eleventy","gorko","jamstack","laravel-mix","netlify","purgecss","static-site","static-site-generator","webpack"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josephdyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-11T15:07:16.000Z","updated_at":"2025-03-13T12:46:40.000Z","dependencies_parsed_at":"2022-09-06T07:31:01.949Z","dependency_job_id":null,"html_url":"https://github.com/josephdyer/skeleventy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdyer%2Fskeleventy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdyer%2Fskeleventy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdyer%2Fskeleventy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdyer%2Fskeleventy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josephdyer","download_url":"https://codeload.github.com/josephdyer/skeleventy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464226,"owners_count":20942970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eleventy","gorko","jamstack","laravel-mix","netlify","purgecss","static-site","static-site-generator","webpack"],"created_at":"2024-08-05T03:02:25.838Z","updated_at":"2025-04-06T10:14:14.012Z","avatar_url":"https://github.com/josephdyer.png","language":"SCSS","funding_links":[],"categories":["SCSS"],"sub_categories":[],"readme":"[![Netlify Status](https://api.netlify.com/api/v1/badges/f4455669-0ce8-40ea-8ff5-5c31f0aadfa5/deploy-status)](https://app.netlify.com/sites/skeleventy/deploys)\n\n# An Eleventy starter skeleton\n\nSkeleventy gives you a rock solid foundation to build fast and accessible static websites. [View the demo site](http://skeleventy.netlify.app/).\n\n## Features\n\n- A clean, minimal build pipeline with SCSS and [Laravel Mix](https://laravel-mix.com/docs/5.0/basic-example) for compiling assets\n- [Gorko](https://github.com/hankchizljaw/gorko), a smart little Sass-powered utility class generator\n- [Purgecss](https://purgecss.com/) to remove unused CSS\n- HTML minifier\n- Supports ES2017 JavaScript, with Babel compilation\n- SEO friendly page meta, including Open Graph and Twitter\n- Image lazy loading\n- Mobile navigation\n- XML Sitemap\n- Clean and simple blog, with categories and featured images\n\n## Getting started\n\n### Prerequisites\nNode `v10+`\n\n### Installation\n\n1. Clone the repo `git clone https://github.com/josephdyer/skeleventy.git`\n2. `cd` into the project folder and run `npm install`\n3. Start the local development server by running `npm run dev` **Tip:** _Eleventy has live reload baked in!_\n\n## Folder structure\n\n### Eleventy\n\n- `site/` contains all the global data, templates and content\n- `utilities/` contains Eleventy helper `filters` and `transforms`\n- Each page should have it's own respective folder containing an `index.md` file\n- You can then choose the most appropriate layout for each page (or create more if you need to)\n- The navigation is powered by the official [Eleventy navigation plugin](https://www.11ty.dev/docs/plugins/navigation/)\n\n### Assets\n\n- `css/` for compiled CSS\n- `js/` for compiled JavaScript\n- `images/` contains our site's images, an SVG icon sprite and a folder for meta images (OG, Twitter etc)\n\n## The build pipeline\n\n[Laravel Mix](https://laravel-mix.com/docs/5.0/basic-example) gives us a nice API layer on top of Webpack. Skeleventy uses a simplistic set up, but you _can_ take advantage of extending Mix with custom Webpack configurations, code splitting and plugins such as PostCSS, if you so wish.\n\nYou'll find the site's uncompiled SCSS and JS within `resources/` where Mix will be watching these directories for any changes. **Tip:** _it's best to always restart the server when creating any new partials or folders_\n\n### SCSS\n\n- `scss/` is structured into opinionated sub folders\n- The `_config.scss` file is where you can change the site's colours and the utility classes generated by Gorko\n- A typographic scale has already been set up using my personal favourite _Major Third_ scale.\n- **Tip:** *for more scales, check out [Type Scale](https://type-scale.com/)*\n\n### Gorko\n\nI decided to remove Tailwind in favour of Gorko, purely for its simplicity and maintainability (especially for newer developers). Not having _too much_ to begin with and adding in what you need, will lead to a simpler, more maintainable codebase. Gorko lets you add a sprinkle of reusable utility classes to help keep your code DRY. _Credit to [Andy Bell](https://piccalil.li/) for making this handy little tool_\n\n### JavaScript\n\n- `utilities/` contains any global utility/helper functions\n- `modules/` contains your site's actual JavaScript, all kept neat and tidy within their respective _modular_ subfolders\n- You can import these subfolders into `main.js` using `import '@modules/example-module'`\n- **Tip:** *you can set up optional import aliases via the `webpack.mix.js` file*\n\n### A note on responsive images\n\nSkeleventy doesn't have responsive images baked in, the main reason being: it's best using [CDN](https://cloudinary.com/invites/lpov9zyyucivvxsnalc5/zsykhj88yzvi0i8kugfs). Check out this [tutorial on setting up Eleventy with Cloudinary](https://sia.codes/posts/eleventy-and-cloudinary-images/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephdyer%2Fskeleventy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephdyer%2Fskeleventy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephdyer%2Fskeleventy/lists"}