Giter Club home page Giter Club logo

Eleventastic

A simple Eleventy Starter Kit, my base for all new 11ty projects. (Demo Site)

Netlify Status

Features

  • CSS Pipeline (Sass, CleanCSS)
  • JS Bundling (Webpack)
  • SVG Icon Sprite Generation
  • Critical CSS
  • HTML Minification
  • No external builds, everything runs through 11ty

Getting Started

To install the necessary packages, run this command in the root folder of the site:

npm install

Commands

  • Run npm start for a development server and live reloading
  • Run npm run build to generate a production build

Deploy a fork of this template to Netlify

Deploy to Netlify

CSS

Styling works with Sass. The main index file is in src/assets/styles/main.scss. Import any SCSS code you want in there; it will be processed and optimized. The output is in dist/assets/styles/main.css

JS

Javascript can be written in ES6 syntax. The main index file is in src/assets/scripts/main.js. It will be transpiled to ES5 with babel, bundled together with webpack, and minified in production. The output is in dist/assets/scripts/main.js

SVG Icons

All SVG files added to src/assets/icons will be bundled into a symbol sprite file. The SVG filename will then be used as the symbol identifier and the icon can be used as a shortcode.

For example, if you have a github.svg file in that folder, you can display it anywhere by using {% icon "github" %} in your templates.

Critical CSS

Currently, critical CSS will only be inlined in the head of the homepage. This is done by using the critical package in an automatic transform.

Credits

My heartfelt thanks to these people, whom I shamelessly copied ideas from:

April's Projects

breadbot icon breadbot

First try at a chatbot using local webhook and ngrok

buildher2018 icon buildher2018

projects for buildher 2018 (LiveStreamCap and SoundBleps)

chitcp icon chitcp

chiTCP - A simple, testable TCP stack

coffea icon coffea

Basic tools and wrappers for enabling not-too-alien syntax when running columnar Collider HEP analysis.

deepfake icon deepfake

Summer project for CDAC - generating deepfake videos

eshoponweb icon eshoponweb

Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.

feature-factory icon feature-factory

Accelerator to rapidly deploy customized features for your business

langchain icon langchain

⚡ Building applications with LLMs through composability ⚡

nonmanifold-laplacian icon nonmanifold-laplacian

A robust Laplace matrix for general (possibly nonmanifold) triangle meshes, and point clouds [Sharp & Crane SGP 2020]

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.