This is a dead simple Github template repository that takes care of the boring boilerplate of setting up a Jekyll site with Tailwind CSS. There is an absolute minimum of pre-written html, allowing you to get to work as quickly as possible.
You will need Ruby, Node.js, and Jekyll installed.
- Click the green
Use this templatebutton at the top of this page and wait for Github to do its thing. - Clone your newly initialized repository.
- Run
npm run setupin the repository root. This will download all of the needed dependencies. - Edit the
_config.ymlconfiguration file to your liking (specific instructions inside). - You're done!
To start the live server run:
$ npm run devIf you edited any of the configuration files while the live server was running, you will need to restart it for the changes to take effect.
Once you're happy with your site, terminate your live server and run:
$ npm run buildThe output will be in the build/ directory.
Happy coding!