Skip to content

etalab/piaf-site

Repository files navigation

Jekyll Starter Tailwind

All Contributors

A starter kit for using Tailwind with Jekyll that includes:

  • A barebones Jekyll starter theme

  • A Gulpfile that does the following:

    • Compiles Tailwind
    • Strips out unused CSS using Purgecss
    • Runs Autoprefixer
    • Minifies your CSS
    • Generate a CSS sourcemap
    • Compiles Jekyll
    • Runs Browsersync for local development

What is Tailwind?

"Tailwind is a utility-first CSS framework for rapidly building custom user interfaces." –Tailwind

What is Jekyll?

"Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories." –Jekyll

Requirements

Get started

  • bundle install to install Ruby gems
  • yarn to install npm packages listed in package.json
  • yarn run start to compile the site with development settings and run BrowserSync

Build your site

  • yarn run build:dev to compile the site with development settings
  • yarn run build to compile the site for production

Deploy

Deploy to Netlify

Note: By default, Netlify uses jekyll build as the build command. Make sure to change this to yarn run build.

License

MIT

How you can help

Enjoying Jekyll Starter Tailwind and want to help? You can:

Contributors

Thanks goes to these wonderful people (emoji key):

Roberto Segura
Roberto Segura

💻
benmp
benmp

💻
Joey Defourneaux
Joey Defourneaux

💻
Hrvoje Šimić
Hrvoje Šimić

💻

This project follows the all-contributors specification. Contributions of any kind welcome!