Giter VIP home page Giter VIP logo

11th's Introduction

Logo of 11th

11th

Simple, Generic Eleventy Template
Explore the demo ยป


Key Features

  • ๐Ÿƒ Generic: Solely basics โ€“ but those well thought out
  • ๐Ÿ”ข Hashed Assets: Cachebust CSS & JS files in production, like main.ac3afb.css
  • ๐Ÿ” SEO-friendly: Generate meta tags for each page
  • ๐Ÿ—‚ Reasonable Directory Names: As little nesting as possible
  • ๐Ÿ— Default Layout: Standard layout if no custom one specified
  • โšก๏ธ HTML Minification: Minify generated HTML in production
  • ๐Ÿšค Rollup: Simple ES module bundler setup

How did we get here?

When creating my first website with Eleventy, I was reading through many starter projects to grasp how one could setup an Eleventy site. Sometimes being overwhelmed by the complexity. I didn't need pagination or support for Webmentions. Just the basics. I forked a few but often found myself stripping out parts I didn't need.

So I constructed a setup which I felt comfortable working with. A light base for future projects. Of course, every starterkit is opiniated, this is my take.

What other templates lacked was a reliabe way to cachebust CSS and JS assets (without query strings) that doesn't get in the way in development environment. That's one of the core features of this starter project.

Setup

Install npm dependencies:

npm install

Spin up the development server:

npm run start

Build for production (compiles into _site):

npm run build

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.