This is part of a blog post series that I'm writing called Advanced Jekyll which you can find on my website, bilaw.al.
You can read the blog post Building API's in Jekyll by clicking here.
All the code in this gist is what I use to build API's with in Jekyll.
Step 1: Copy all of the files (except README.md
, of course) into your existing Jekyll project (the first line of each file contains the directory the file should belong in, as well as the filename itself)
Step 2: Alter to taste. The blog post goes into more detail on this.
Step 3: Win!
If you haven't installed Jekyll before, do this:
$ gem install jekyll -v 3.4.0
$ jekyll new my-site
$ cd my-site
Need help? Feel free to reach out by emailing [email protected] - I'd love to help!