The REST cookbook website uses Jekyll, a simple yet powerful blog engine that easily allows for creating simple websites like these.
Contributing to our site is simple:
As said, a page must be placed in the _post directory, and in the year-month-day-filename.html format. Otherwise it wont get picked up by the system. Every post should look somewhat like this:
---
layout: recipe
title: <Title>
category: <Category>
author: <your name>
author_email: <your email address>
---
<h2>Title</h2>
<p>Your recipe</p>
The author_email address is optional. Make sure the category name is one of the existing category names (case matters), otherwise your posting will be added inside a new topic. If you have troubles creating a new page, take a look at one of the existing pages, or ask us for help.
There are two ways to display your new site:
Run as a standalone webserver:
jekyll server
Run inside an existing webserver:
When you make changes, you need to regenerate your website. This can be done by running jekyll without any parameters. This regenerates the _site directory.