Skip to content

Commit 7ec0011

Browse files
author
aeoth
committed
init
0 parents  commit 7ec0011

14 files changed

+227
-0
lines changed

.gems

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rack-jekyll
2+
rack-rewrite

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
permalink: /:title.html
2+
auto: true
3+
markdown: rdiscount

_layouts/layout.html

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta content="en-au" http-equiv="Content-Language" />
5+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6+
<title>Code52</title>
7+
<link rel="stylesheet" type="text/css" href="/css/style.css" />
8+
</head>
9+
<body>
10+
<div id="container">
11+
<div id="side">
12+
code
13+
<h1>52</h1>
14+
<h2>a new coding project every week</h2>
15+
16+
<ul>
17+
<li><a href="#">about</a></li>
18+
<li><a href="#">submit an idea</a></li>
19+
<li><a href="#">past ideas</a></li>
20+
</ul>
21+
</div>
22+
<div id="content">
23+
{{content}}
24+
</div>
25+
26+
</div>
27+
</body>
28+
</html>

_layouts/post.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: default
3+
---
4+
<div class="entry-container">
5+
<div class='entry'>
6+
<h1> {{page.title}} </h1>
7+
<span class="postdate">{{ page.date | date: "%e %B, %Y" }}
8+
{% for tag in page.tags %}
9+
<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
10+
{% endfor %}
11+
12+
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="aeoth">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
13+
</span>
14+
{{ content }}
15+
</div>
16+
</div>
17+
<div id="page-navigation">
18+
<div class="left"> {% if page.previous.url %} <a href="{{page.previous.id}}" title="Previous Post: {{page.previous.title}}">&larr; {{page.previous.title}}</a> {% endif %} </div>
19+
<div class="right"> {% if page.next.url %} <a href="{{page.next.id}}" title="next Post: {{page.next.title}}">{{page.next.title}} &rarr; </a> {% endif %} </div>
20+
<div class="clear">&nbsp;</div>
21+
</div>

_posts/2011-12-14-idea1.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: post
3+
title: "Idea 1: Cupcake ipsum dolor sit amet marshmallow."
4+
---
5+
6+
Chocolate bear claw I love. Cotton candy sesame snaps gingerbread chocolate. Candy toffee sweet gummi bears cheesecake chocolate bar cotton candy tart danish. I love I love I love I love sweet I love lollipop I love. Pudding ice cream halvah muffin chupa chups powder. Pie chocolate cake donut ice cream jelly ice cream macaroon topping sesame snaps. Ice cream I love jujubes applicake sweet roll liquorice. Pastry icing biscuit faworki. Chocolate bar cupcake cupcake soufflé I love. Macaroon chupa chups I love chocolate bar candy canes wafer jelly sweet tiramisu. Sesame snaps fruitcake chocolate donut sweet tiramisu. Jelly beans pastry applicake powder marzipan I love.
7+
8+
Candy canes chocolate bar fruitcake I love candy oat cake. I love halvah brownie pastry. Cheesecake gingerbread tart marshmallow tootsie roll cheesecake. Wafer sugar plum liquorice caramels sweet tiramisu liquorice faworki topping. Tootsie roll carrot cake I love jelly beans candy pastry pudding sesame snaps pudding. Toffee candy biscuit dessert tiramisu topping chupa chups danish. Sweet liquorice lemon drops. Brownie cotton candy chocolate cake halvah croissant cheesecake bear claw cheesecake. Cheesecake jelly beans tiramisu I love chocolate jelly-o cookie. Chupa chups sugar plum macaroon pudding donut chupa chups gummies. Cheesecake lollipop oat cake wafer carrot cake. Sweet roll I love applicake lollipop.
9+
Cupcake I love halvah. Jelly beans chocolate cake cake. Oat cake pudding pudding dragée. Soufflé I love lollipop dragée danish. Sweet brownie biscuit wafer. I love pie jelly croissant jujubes. Dragée I love candy canes. Pastry bonbon macaroon soufflé pastry tootsie roll faworki. Sesame snaps liquorice pie gummi bears. I love gummi bears sesame snaps gummi bears chupa chups applicake. Gingerbread candy canes pudding. Cookie faworki jelly muffin chupa chups macaroon. Sugar plum bonbon I love bear claw. Marzipan toffee bonbon marzipan carrot cake.
10+
11+
sugar plum toffee. I love tart jelly-o halvah ice cream. Biscuit fruitcake marshmallow biscuit. Apple pie fruitcake ice cream fruitcake icing. Toffee cotton candy macaroon danish. I love jelly beans halvah gummi bears oat cake chupa chups brownie. Muffin brownie applicake marzipan gummies.

_site/config.ru

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require "rack/jekyll"
2+
require "rack/rewrite"
3+
4+
use Rack::Rewrite do
5+
#rewrite %r{/(.*)}, '/$1.html', :if => lambda { File.exists?('/$1.html')}
6+
end
7+
8+
run Rack::Jekyll.new

_site/css/style.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
body{ font-family: Segoe UI, sans-serif; margin-left:auto; margin-right: auto; width:1100px; }
2+
h1,h2,h3,h4,h5,h6{ font-weight:lighter; }
3+
a, a:visited { text-decoration: none; color:#13678b;}
4+
ul { margin:0; padding:0;}
5+
li { margin:0; padding:0; list-style-type:none;}
6+
7+
#side { float:right;color: #41b1e1; width:40%;}
8+
#side h1 { margin-left:0; font-size:25em; margin-left:-40px; margin-top:-70px; margin-bottom:0px; line-height:1em;}
9+
#side h2 { margin-left:0; margin-left:-15px; margin-top:-20px; margin-bottom:0px; line-height:1em; font-size:3em;}
10+
#side ul { margin-left:-10px; margin-top:50px; font-size:2em; padding:0;}
11+
#content { width:50%;}

_site/idea1.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<div class="entry-container">
2+
<div class='entry'>
3+
<h1> Idea 1: Cupcake ipsum dolor sit amet marshmallow. </h1>
4+
<span class="postdate">14 December, 2011
5+
6+
7+
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="aeoth">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
8+
</span>
9+
<p>Chocolate bear claw I love. Cotton candy sesame snaps gingerbread chocolate. Candy toffee sweet gummi bears cheesecake chocolate bar cotton candy tart danish. I love I love I love I love sweet I love lollipop I love. Pudding ice cream halvah muffin chupa chups powder. Pie chocolate cake donut ice cream jelly ice cream macaroon topping sesame snaps. Ice cream I love jujubes applicake sweet roll liquorice. Pastry icing biscuit faworki. Chocolate bar cupcake cupcake soufflé I love. Macaroon chupa chups I love chocolate bar candy canes wafer jelly sweet tiramisu. Sesame snaps fruitcake chocolate donut sweet tiramisu. Jelly beans pastry applicake powder marzipan I love.</p>
10+
11+
<p>Candy canes chocolate bar fruitcake I love candy oat cake. I love halvah brownie pastry. Cheesecake gingerbread tart marshmallow tootsie roll cheesecake. Wafer sugar plum liquorice caramels sweet tiramisu liquorice faworki topping. Tootsie roll carrot cake I love jelly beans candy pastry pudding sesame snaps pudding. Toffee candy biscuit dessert tiramisu topping chupa chups danish. Sweet liquorice lemon drops. Brownie cotton candy chocolate cake halvah croissant cheesecake bear claw cheesecake. Cheesecake jelly beans tiramisu I love chocolate jelly-o cookie. Chupa chups sugar plum macaroon pudding donut chupa chups gummies. Cheesecake lollipop oat cake wafer carrot cake. Sweet roll I love applicake lollipop.
12+
Cupcake I love halvah. Jelly beans chocolate cake cake. Oat cake pudding pudding dragée. Soufflé I love lollipop dragée danish. Sweet brownie biscuit wafer. I love pie jelly croissant jujubes. Dragée I love candy canes. Pastry bonbon macaroon soufflé pastry tootsie roll faworki. Sesame snaps liquorice pie gummi bears. I love gummi bears sesame snaps gummi bears chupa chups applicake. Gingerbread candy canes pudding. Cookie faworki jelly muffin chupa chups macaroon. Sugar plum bonbon I love bear claw. Marzipan toffee bonbon marzipan carrot cake.</p>
13+
14+
<p>sugar plum toffee. I love tart jelly-o halvah ice cream. Biscuit fruitcake marshmallow biscuit. Apple pie fruitcake ice cream fruitcake icing. Toffee cotton candy macaroon danish. I love jelly beans halvah gummi bears oat cake chupa chups brownie. Muffin brownie applicake marzipan gummies.</p>
15+
16+
</div>
17+
</div>
18+
<div id="page-navigation">
19+
<div class="left"> </div>
20+
<div class="right"> </div>
21+
<div class="clear">&nbsp;</div>
22+
</div>

_site/index.html

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta content="en-au" http-equiv="Content-Language" />
5+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6+
<title>Code52</title>
7+
<link rel="stylesheet" type="text/css" href="/css/style.css" />
8+
</head>
9+
<body>
10+
<div id="container">
11+
<div id="side">
12+
code
13+
<h1>52</h1>
14+
<h2>a new coding project every week</h2>
15+
16+
<ul>
17+
<li><a href="#">about</a></li>
18+
<li><a href="#">submit an idea</a></li>
19+
<li><a href="#">past ideas</a></li>
20+
</ul>
21+
</div>
22+
<div id="content">
23+
<ul class="ideas">
24+
25+
<li>
26+
<div class="idea">
27+
28+
<h1><a href="/idea1">Idea 1: Cupcake ipsum dolor sit amet marshmallow.</a></h1>
29+
30+
<div class="postdate">14 December, 2011
31+
<ul>
32+
33+
</ul>
34+
</div>
35+
36+
<p>Chocolate bear claw I love. Cotton candy sesame snaps gingerbread chocolate. Candy toffee sweet gummi bears cheesecake chocolate bar cotton candy tart danish. I love I love I love I love sweet I love lollipop I love. Pudding ice cream halvah muffin chupa chups powder. Pie chocolate cake donut ice cream jelly ice cream macaroon topping sesame snaps. Ice cream I love jujubes applicake sweet roll liquorice. Pastry icing biscuit faworki. Chocolate bar cupcake cupcake soufflé I love. Macaroon chupa chups I love chocolate bar candy canes wafer jelly sweet tiramisu. Sesame snaps fruitcake chocolate donut sweet tiramisu. Jelly beans pastry applicake powder marzipan I love.</p>
37+
38+
<p>Candy canes chocolate bar fruitcake I love candy oat cake. I love halvah brownie pastry. Cheesecake gingerbread tart marshmallow tootsie roll cheesecake. Wafer sugar plum liquorice caramels sweet tiramisu liquorice faworki topping. Tootsie roll carrot cake I love jelly beans candy pastry pudding sesame snaps pudding. Toffee candy biscuit dessert tiramisu topping chupa chups danish. Sweet liquorice lemon drops. Brownie cotton candy chocolate cake halvah croissant cheesecake bear claw cheesecake. Cheesecake jelly beans tiramisu I love chocolate jelly-o cookie. Chupa chups sugar plum macaroon pudding donut chupa chups gummies. Cheesecake lollipop oat cake wafer carrot cake. Sweet roll I love applicake lollipop.
39+
Cupcake I love halvah. Jelly beans chocolate cake cake. Oat cake pudding pudding dragée. Soufflé I love lollipop dragée danish. Sweet brownie biscuit wafer. I love pie jelly croissant jujubes. Dragée I love candy canes. Pastry bonbon macaroon soufflé pastry tootsie roll faworki. Sesame snaps liquorice pie gummi bears. I love gummi bears sesame snaps gummi bears chupa chups applicake. Gingerbread candy canes pudding. Cookie faworki jelly muffin chupa chups macaroon. Sugar plum bonbon I love bear claw. Marzipan toffee bonbon marzipan carrot cake.</p>
40+
41+
<p>sugar plum toffee. I love tart jelly-o halvah ice cream. Biscuit fruitcake marshmallow biscuit. Apple pie fruitcake ice cream fruitcake icing. Toffee cotton candy macaroon danish. I love jelly beans halvah gummi bears oat cake chupa chups brownie. Muffin brownie applicake marzipan gummies.</p>
42+
43+
<br />
44+
<a href="/idea1#disqus_thread">Comments</a>
45+
46+
</div>
47+
</li>
48+
49+
</ul>
50+
51+
52+
53+
54+
</div>
55+
56+
</div>
57+
</body>
58+
</html>

_site/server.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jekyll --server

config.ru

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require "rack/jekyll"
2+
require "rack/rewrite"
3+
4+
use Rack::Rewrite do
5+
#rewrite %r{/(.*)}, '/$1.html', :if => lambda { File.exists?('/$1.html')}
6+
end
7+
8+
run Rack::Jekyll.new

css/style.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
body{ font-family: Segoe UI, sans-serif; margin-left:auto; margin-right: auto; width:1100px; }
2+
h1,h2,h3,h4,h5,h6{ font-weight:lighter; }
3+
a, a:visited { text-decoration: none; color:#13678b;}
4+
ul { margin:0; padding:0;}
5+
li { margin:0; padding:0; list-style-type:none;}
6+
7+
#side { float:right;color: #41b1e1; width:40%;}
8+
#side h1 { margin-left:0; font-size:25em; margin-left:-40px; margin-top:-70px; margin-bottom:0px; line-height:1em;}
9+
#side h2 { margin-left:0; margin-left:-15px; margin-top:-20px; margin-bottom:0px; line-height:1em; font-size:3em;}
10+
#side ul { margin-left:-10px; margin-top:50px; font-size:2em; padding:0;}
11+
#content { width:50%;}

index.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
layout : layout
3+
---
4+
5+
<ul class="ideas">
6+
{% for post in site.posts limit:10 %}
7+
<li>
8+
<div class="idea">
9+
{% if forloop.first and post.layout == "post" %}
10+
<h1><a href="{{ post.id }}">{{ post.title }}</a></h1>
11+
12+
<div class="postdate">{{ post.date | date: "%e %B, %Y" }}
13+
<ul>
14+
{% for tag in post.tags %}
15+
<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
16+
{% endfor %}
17+
</ul>
18+
</div>
19+
20+
{{ post.content }}
21+
<br />
22+
<a href="{{ post.id }}#disqus_thread">Comments</a>
23+
{% else %}
24+
<h3><a class="postlink" href="{{ post.id }}">{{ post.title }}</a></h3>
25+
<div class="postdate">{{ post.date | date: "%e %B, %Y" }}
26+
<ul>
27+
{% for tag in post.tags %}
28+
<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
29+
{% endfor %}
30+
</ul>
31+
</div>
32+
{% if post.description != null %}
33+
<span class="postsummary">{{ post.description }}</span><br/ >
34+
{% endif %}
35+
36+
<a href="{{ post.id }}#disqus_thread">Comments</a>
37+
{% endif %}
38+
</div>
39+
</li>
40+
{% endfor %}
41+
</ul>
42+

server.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jekyll --server

0 commit comments

Comments
 (0)