purpletual-blog-theme

purpletual-blog-theme

A Jekyll blog theme built with TailwindCSS

Purpletual Blog Theme

Based on Jekyll Starter Tailwind.

A starter kit for using Tailwind with Jekyll that includes:

  • A Jekyll blog theme

  • A Gulpfile that does the following:

    • Compiles Tailwind
    • Strips out unused CSS using Tailwind's purge option
    • Runs Autoprefixer
    • Minifies your CSS
    • Compiles Jekyll
    • Runs Browsersync for local development

Requirements

Get started

  • bundle install to install Ruby gems
  • npm ci to install npm packages listed in package-lock.json
  • Set index.html layout to home and create your posts in the _posts directory
  • npm run start or npm run dev to compile the site with development settings and run BrowserSync

Build your site

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

Deploy

You can deploy your site to netlify.

Note: By default, Netlify uses jekyll build as the build command. The included netlify.toml file will override it to use npm run build.