A quick and easy way to prototype ideas using Twitter Bootstrap and Jekyll.
git clone [email protected]:jeffchuber/jekyll-bootstrap-boilerplate.git
cd jekyll-bootstrap-boilerplate
gem install jekyll
jekyll serve --watch
._layouts/default.html
is where you edit the base styles of your app. This is where you can put your header and footer that are standard across all page. This is also where you can and should include javascript, fonts, CSS, etc that you want to add to the page. (basically anything in the <head>
element) {{content}}
is where sub pages will put their content. For example for your landing page, the contents of index.html
will be placed in the default layout and replace {{content}}
index.html
is your landing page_posts/2013-10-10-example.html
is your first page. You can access it by going to localhost:4000/example. To create a new page, use the same naming as you see for the example page. So if you about a page called about
, create 2013-10-10-about.html
. Now you can go to localhost:4000/about or link to it from another view by typing <a href="/about">About</a>
Make sure to include the block at the top that you see in the example.---
layout: default
title: "Example"
date: 2013-10-21 12:06:36
---
For more learning check out the Jekyll Documentation
If you want to easily put your mockups up on the internet, there is a super simple way to do this using s3_website The basic instructions are (copied from Readme.md):
Here's how you can get started: