25th December 2020
Getting started with Jekyll + alternate
alternate was designed as a portfolio theme for alternatyves, but you can use this theme to start a regular Jekyll blog and tweak it any way you like.
- Install Jekyll
- Add your site and author details in
- Get a workflow going to see your site’s output with Jekyll locally using Jekyll commands or Gulp.
Supply was built with Jekyll version 4.0.0, and should support newer versions as well.
Install the dependencies with Bundler:
$ bundle install
jekyll commands through Bundler to ensure you’re using the right versions:
$ bundle exec jekyll serve
Add your custom configuration in the
Exposed as a data file to give clients better access Set in the Data / Navigation section, look for
_includes to add your footer links.
You can change the site styling using Tachyons, look for
sup-theme in the
Please refer to Tachyons documentation, you can also start with https://github.com/dwyl/learn-tachyons
Gulp commands with browser reload
In the terminal, simply run
to build your site concatenate your css (in
This command builds the site locally on port 3000, with Browsersync so you can quickly revise design changes.
Preview your site with browser reload at: localhost:3000 Use the address localhost:3001 for additional help like grid preview, css highlight and more during development.
- Add, update or remove a post in the Posts collection.
- Change the defaults when new posts are created in
Read about collections in the Jekyll documentation.