Permalink
Browse files

converted blog to jekyll

  • Loading branch information...
1 parent ef03fd1 commit e08feec2feb2306c49647364dff7a5847d4d9bbc @dhiemstra dhiemstra committed Mar 11, 2012
Showing with 71 additions and 3 deletions.
  1. +16 −0 _includes/header.html
  2. +10 −0 _includes/post.html
  3. +19 −0 _layouts/blog.html
  4. +2 −2 _layouts/homepage.html
  5. +18 −0 _layouts/post.html
  6. +1 −1 _posts/2012-03-06-welcome-to-euruko-2012.html
  7. +5 −0 blog.md
View
@@ -0,0 +1,16 @@
+<nav>
+ <ul>
+ <li class="twitter"><a href="http://twitter.com/euruko">Follow us on Twitter</a></li>
+ <li><a href="/">Home</a></li>
+ <li><a href="/blog.html">Blog</a></li>
+ <li><a href="https://github.com/euruko2012/call-for-proposals/">Call for proposals</a></li>
+ </ul>
+</nav>
+<header>
+ <figure>
+ <img src="/images/logo.png" alt="">
+ </figure><hgroup>
+ <h1 title="Euruko">EuRuKo<b title="2012">2012</b></h1>
+ <h2><time datetime="2012-06-01">01</time> &amp; <time datetime="2012-06-02">02 <b class="month">june</b> <b class="year">2012</b></time>
+ </hgroup>
+</header>
View
@@ -0,0 +1,10 @@
+<footer>
+ <img src="{{ post.picture }}" alt="{{ post.author }}">
+ <div>
+ <p>by {{ post.author }}</p>
+ <p><time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: "%B %d, %Y" }}</time></p>
+ </div>
+</footer><div>
+ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+ {{ post.content }}
+</div>
View
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+
+{% include page_head.html %}
+
+<body class="blog">
+
+{% include header.html %}
+
+<h1><b>Blog</b></h1>
+
+<article>
+ {% for post in site.posts %}
+ {% include post.html %}
+ {% endfor %}
+</article>
+
+</body>
+</html>
@@ -40,7 +40,7 @@ <h1 title="Euruko">EuRuKo<b title="2012">2012</b></h1>
<h1>Blog</h1>
<article>
{% assign latest_post = site.posts.first %}
- <h1><a href="{{ latest_post.url }}">{{ latest_post.title | xml_escape}}</a></h1>
+ <h1><a href="/blog.html">{{ latest_post.title | xml_escape}}</a></h1>
<footer>
<img src="{{ latest_post.picture }}" alt="{{ latest_post.author }}">
<div>
@@ -49,7 +49,7 @@ <h1 title="Euruko">EuRuKo<b title="2012">2012</b></h1>
</div>
</footer>
<p>{{ latest_post.content | strip_html | truncatewords: 25 }}</p>
- <p class="read-more"><a href="{{ latest_post.url }}">Read more...</a></p>
+ <p class="read-more"><a href="/blog.html">Read more...</a></p>
</article>
</div>
</aside>
View
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+
+{% include page_head.html %}
+
+<body class="blog">
+
+{% include header.html %}
+
+<h1><b>Blog</b></h1>
+
+<article>
+{% assign post = page %}
+{% include post.html %}
+</article>
+
+</body>
+</html>
@@ -2,7 +2,7 @@
title: "Welcome to EuRuKo 2012"
author: "Josh Kalderimis"
picture: "/images/avatars/josh.png"
-layout: blog
+layout: post
---
<p>The countdown has started! EuRuKo 2012 is around the corner and it's high time we wrote you a blog post to let you know what is going on!</p>
View
@@ -0,0 +1,5 @@
+---
+title: Blog
+layout: blog
+---
+Blog

0 comments on commit e08feec

Please sign in to comment.