Code Monkey home page Code Monkey logo

smix-eleventy-starter's Introduction

🌻 Smix

A gulp-based starter for Static Site Generators, preconfigured for @11ty/eleventy and Forestry CMS

Framework

  • β™₯ Eleventy 0.11.0 out of the box
    • Date filters for a friendly version such as 10 March 2020, and ISO8601 (also RFC822 compatible)
    • getUrl shortcode similar to Jekyll's post_url and link liquid tags
    • Custom rendering engine for HTML files - Liquid v9
      • Adds support for missing filters such as where and improves performance
  • πŸ›‹ Preconfigured for Forestry CMS.
    • Sign up, log in, look for the Deploy admin option.
    • Everything else is set up for you already. :)
  • πŸ’Indie publishing and reading experience
    • microformats2 support for h-card, h-entry, and h-feed out of the box
  • πŸ‘©β€πŸ’» Modern JavaScript
    • Transpilation via Babel
      • Support for ES2015 JavaScript syntax
      • Support for ES2017 async/await syntax
    • Module bundling via Browserify
  • 🎨 PostCSS
    • Includes: imports, nesting, purge, minification, autoprefixer
    • TailwindCSS, configured to strip out unused classes from production builds
    • Easily build a dark mode using the included dm screen type: dm:bg-gray-900
  • πŸ” SEO and more
    • Meta tags for social networks (Open Graph/Twitter)
    • Sitemap with changeFrequency; robots.txt (please also see issue #7)
    • An Atom feed with support for both published and updated dates on articles
    • Support for content-description meta tag
  • πŸ“– A sane fonts setup
    • The font-sans class is configured to use system-default fonts
    • Include fonts locally for enhanced privacy of your visitors
    • typeset for professional looking content
  • πŸ’ͺ Minified assets on production
  • πŸ“” Prettier and editorconfig
  • πŸ”§ Modular gulp task files for easy configuration and modification

To-Do

  • Reload automatically after our assets change (filed issue here, waiting for response/PR approval). Please reload manually for now.
  • Webmentions, incoming and outgoing, only from/to other IndieWeb sites
  • System default serif font class
  • Scheduled blog posts
  • Lazy-load images
  • Responsive images

How to Use

Local Development

  • nvm use
  • npm install
  • npm run dev
  • Open localhost:8080 on your browser

Production

  • npm run prod

smix-eleventy-starter's People

Contributors

dependabot[bot] avatar maybethisisru avatar

Watchers

 avatar  avatar

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.