You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ru Singh f570ee2af7 chore: release v0.0.7 1 month ago
.forestry Add new content to Forestry config 6 months ago
eleventy fix: default node dev env to true if no env set 3 months ago
gulp_tasks Default to linux command line for cleanup instead of npm module 6 months ago
src fix: SEO improvements 2 months ago
.babelrc Remove more react, set up a data, layouts, post in eleventy 7 months ago
.editorconfig Use eleventy's watcher and server, configur prettier 7 months ago
.eleventy.js feat: switch to JS to preprocessing for safe external links 3 months ago
.eleventyignore Update directory stucture, gulp tasks, and move blog/ to articles/ 6 months ago
.gitignore Improve dir structure; allow importing components without jsx ext; update gitignore 1 year ago
.nvmrc Update node to LTS/erbium 7 months ago
.prettierignore Husky to ignore markdown files, can upset front-matter 6 months ago
.prettierrc Use eleventy's watcher and server, configur prettier 7 months ago
CHANGELOG.md docs: add a changelog 1 month ago
README.md fix URL to forestry.io for github preview 2 months ago
gulpfile.babel.js build: fix develop script to watch assets 3 months ago
package-lock.json chore: release v0.0.7 1 month ago
package.json chore: release v0.0.7 1 month ago
paths.js Update directory stucture, gulp tasks, and move blog/ to articles/ 6 months ago
tailwind.config.js Remove more react, set up a data, layouts, post in eleventy 7 months ago

README.md

🌻 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