Jekyll cms site for restcookbook.com
CSS HTML Ruby
Latest commit 8751a5f Aug 8, 2016 @jaytaph jaytaph committed on GitHub Merge pull request #72 from boriseetgerink/custom-content-type-fix
Correct capitalization of Content-Type header
Permalink
Failed to load latest commit information.
_includes Added back google analytics Jan 16, 2016
_layouts Added github ribbons Jan 16, 2016
_plugins Removed obsolete git plugin Jan 24, 2016
_posts Correct capitalization of Content-Type header Aug 8, 2016
config Moved to different server Jan 24, 2016
css Installed new theme Jan 16, 2016
fonts Installed new theme Jan 16, 2016
img Installed new theme Jan 16, 2016
js Installed new theme Jan 16, 2016
.gitignore Added idea workshops to ignore Dec 12, 2012
404.html Fix some typos Apr 11, 2013
Capfile Initial deployment scheme Jan 16, 2016
README.md Installed new theme Jan 16, 2016
_config.yml Added back google analytics Jan 16, 2016
android-icon-144x144.png Installed new theme Jan 16, 2016
android-icon-192x192.png Installed new theme Jan 16, 2016
android-icon-36x36.png Installed new theme Jan 16, 2016
android-icon-48x48.png Installed new theme Jan 16, 2016
android-icon-72x72.png Installed new theme Jan 16, 2016
android-icon-96x96.png Installed new theme Jan 16, 2016
apple-icon-114x114.png Installed new theme Jan 16, 2016
apple-icon-120x120.png Installed new theme Jan 16, 2016
apple-icon-144x144.png Installed new theme Jan 16, 2016
apple-icon-152x152.png Installed new theme Jan 16, 2016
apple-icon-180x180.png Installed new theme Jan 16, 2016
apple-icon-57x57.png Installed new theme Jan 16, 2016
apple-icon-60x60.png Installed new theme Jan 16, 2016
apple-icon-72x72.png Installed new theme Jan 16, 2016
apple-icon-76x76.png Installed new theme Jan 16, 2016
apple-icon-precomposed.png Installed new theme Jan 16, 2016
apple-icon.png Installed new theme Jan 16, 2016
browserconfig.xml Installed new theme Jan 16, 2016
favicon-16x16.png Installed new theme Jan 16, 2016
favicon-32x32.png Installed new theme Jan 16, 2016
favicon-96x96.png Installed new theme Jan 16, 2016
favicon.ico Installed new theme Jan 16, 2016
feed.xml Installed new theme Jan 16, 2016
index.html Installed new theme Jan 16, 2016
manifest.json Installed new theme Jan 16, 2016
ms-icon-144x144.png Installed new theme Jan 16, 2016
ms-icon-150x150.png Installed new theme Jan 16, 2016
ms-icon-310x310.png Installed new theme Jan 16, 2016
ms-icon-70x70.png Installed new theme Jan 16, 2016
sitemap.txt Installed new theme Jan 16, 2016
sitemap.xml Installed new theme Jan 16, 2016

README.md

Contributing to the REST cookbook

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:

  • Fork the website to your own github account.
  • Clone your repository onto your computer. Make sure you create a new branch, and not use the master branch.
  • Create a new page inside the /_posts/* directory. This HAS GOT TO BE IN THE FORMAT OF YEAR-MONTH-DAY-FILENAME.html!!!
  • Add and commit your changes, and push it to your repository.
  • Create a pull request and we will try and merge your recipe.

Creating a new page

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.

Regenerating a new site

There are two ways to display your new site:

Run as a standalone webserver:

  • Start jekyll in your repository root with: jekyll server
  • Browse to http://:4000 to see your site

Run inside an existing webserver:

  • Make sure your use the _site directory as your document root

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.