Permalink
Browse files

Basic configuration for Jekyll

  • Loading branch information...
gyndav committed Jan 22, 2012
1 parent 60715b9 commit 5dbad0fc13ee1950b44426507a92118819d65b2e
Showing with 77 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +3 −0 Gemfile
  3. +3 −0 _config.yml
  4. +27 −0 _layouts/default.html
  5. +15 −0 _layouts/post.html
  6. +11 −0 _posts/2012-01-22-hello-world.textile
  7. +13 −0 index.html
View
@@ -0,0 +1,5 @@
+.bundle
+_site
+bin
+vendor
+Gemfile.lock
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+gem "jekyll"
+gem "RedCloth"
View
@@ -0,0 +1,3 @@
+server: true
+server_port: 4000
+pygments: false
View
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>{{ page.title }}</title>
+ <meta name="author" content="{{ page.author }}" />
+</head>
+<body>
+
+<div class="site">
+ <div class="title">
+ <a href="/">Siths</a>
+ <a class="extra" href="/">home</a>
+ </div>
+
+ {{ content }}
+
+ <div class="footer">
+ <div class="contact">
+ <p>
+ Sith.io
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>
View
@@ -0,0 +1,15 @@
+---
+layout: default
+---
+<div id="post">
+{{ content }}
+</div>
+
+<div id="related">
+ <h2>Related Posts</h2>
+ <ul class="posts">
+ {% for post in site.related_posts limit:3 %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+</div>
@@ -0,0 +1,11 @@
+---
+layout: post
+title: Hello world !
+author: dguyon
+---
+
+h1. {{ page.title }}
+
+p(meta). 22 Jan 2012 - Paris
+
+Hello world from Sith member ! @dguyon
View
@@ -0,0 +1,13 @@
+---
+layout: default
+title: Sith.io
+---
+
+<div id="home">
+ <h1>Blog Posts</h1>
+ <ul class="posts">
+ {% for post in site.posts %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+</div>

0 comments on commit 5dbad0f

Please sign in to comment.