Skip to content

Commit 456ff79

Browse files
author
aeoth
committed
images, rss, oh my
1 parent 164e7e5 commit 456ff79

File tree

13 files changed

+207
-35
lines changed

13 files changed

+207
-35
lines changed

_layouts/layout.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta content="en-au" http-equiv="Content-Language" />
55
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6+
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Blog Feed" />
7+
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Blog Feed" />
68
<title>Code52</title>
79
<link rel="stylesheet" type="text/css" href="/css/style.css" />
810
</head>
911
<body>
1012
<div id="container">
1113
<div id="side">
12-
<h1>52</h1>
13-
<h2>a new coding project every week</h2>
14-
14+
<a href="/" id="homelink" title="home" alt="home"><img src="/img/logo.png" alt="Code 52 - a new coding project every week" /></a>
1515
<ul>
16-
<li><a href="#">about</a></li>
17-
<li><a href="#">submit an idea</a></li>
16+
<li><a href="/about">about</a></li>
17+
<li><a href="http://code52.uservoice.com">submit an idea</a></li>
1818
<li><a href="#">past ideas</a></li>
1919
</ul>
2020
</div>

_site/about.html

Lines changed: 58 additions & 0 deletions
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+
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Blog Feed" />
7+
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Blog Feed" />
8+
<title>Code52</title>
9+
<link rel="stylesheet" type="text/css" href="/css/style.css" />
10+
</head>
11+
<body>
12+
<div id="container">
13+
<div id="side">
14+
<a href="/" id="homelink" title="home" alt="home"><img src="/img/logo.png" alt="Code 52 - a new coding project every week" /></a>
15+
<ul>
16+
<li><a href="/about">about</a></li>
17+
<li><a href="http://code52.uservoice.com">submit an idea</a></li>
18+
<li><a href="#">past ideas</a></li>
19+
</ul>
20+
</div>
21+
<div id="content">
22+
<div class="entry-container">
23+
<div class='entry'>
24+
<h1> About </h1>
25+
<span class="postdate">
26+
27+
28+
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="code52org">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
29+
</span>
30+
31+
32+
</div>
33+
</div>
34+
<div id="page-navigation">
35+
<div class="left"> </div>
36+
<div class="right"> </div>
37+
<div class="clear">&nbsp;</div>
38+
</div>
39+
40+
<div id="disqus_thread"></div>
41+
<script type="text/javascript">
42+
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
43+
var disqus_shortname = 'code52'; // required: replace example with your forum shortname
44+
45+
/* * * DON'T EDIT BELOW THIS LINE * * */
46+
(function() {
47+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
48+
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
49+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
50+
})();
51+
</script>
52+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
53+
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
54+
</div>
55+
56+
</div>
57+
</body>
58+
</html>

_site/atom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<feed xmlns="http://www.w3.org/2005/Atom">
3+
<title>Code52</title>
4+
<link href="http://www.Code52.org/"/>
5+
<link type="application/atom+xml" rel="self" href="http://www.Code52.org/atom.xml"/>
6+
<updated>2011-12-14T14:50:52+11:00</updated>
7+
<id>http://www.Code52.org/</id>
8+
<author>
9+
<name>Code52 Team</name>
10+
<email>Code52@Code52.org</email>
11+
</author>
12+
13+
14+
<entry>
15+
<id>http://www.Code52.org//idea1</id>
16+
<link type="text/html" rel="alternate" href="http://www.Code52.org//idea1.html"/>
17+
<title>Idea 1: Cupcake ipsum dolor sit amet marshmallow.</title>
18+
<updated>2011-12-14T00:00:00+11:00</updated>
19+
<author>
20+
<name>Code52 Team</name>
21+
<uri>http://www.Code52.org/</uri>
22+
</author>
23+
<content type="html">&lt;p&gt;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.&lt;/p&gt;
24+
25+
&lt;p&gt;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.
26+
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.&lt;/p&gt;
27+
28+
&lt;p&gt;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.&lt;/p&gt;
29+
</content>
30+
</entry>
31+
32+
</feed>

_site/css/style.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ a, a:visited { text-decoration: none; color:#13678b;}
44
a:hover { color:white; background: #13678b}
55
ul { margin:0; padding:0;}
66
li { margin:0; padding:0; list-style-type:none;}
7-
8-
#side { float:right;color: #41b1e1; width:40%;}
9-
#side h1 { margin-left:0; font-size:25em; margin-left:-40px; margin-top:-70px; margin-bottom:0px; line-height:1em;}
10-
#side h2 { margin-left:0; margin-left:-15px; margin-top:-20px; margin-bottom:0px; line-height:1em; font-size:3em;}
11-
#side ul { margin-left:-10px; margin-top:50px; font-size:2em; padding:0;}
7+
#homelink:hover { background:none; }
8+
#side { float:right;color: #41b1e1; }
9+
#side ul { margin-top:50px; font-size:2em; padding:0;}
1210
#content { width:50%;}
1311
img
1412
{
@@ -18,14 +16,12 @@ img
1816
border: none;
1917
}
2018

21-
/* mostly phones that are under 600px, so these should be safe */
22-
@media screen and (max-width:600px)
19+
@media screen and (max-width:750px)
2320
{
24-
body { width:100%; margin:10px; }
21+
body { width:auto; margin:10px; }
2522
#content { width : 100%; }
2623
#side { float:none; width:100%;}
27-
#side h1 { font-size:4em; margin:0;}
28-
#side h2 { font-size:1.5em; margin:0;}
2924
#side ul { font-size:1em; padding:0px; margin:0px; margin-top:20px;}
3025
#side li { display:inline; }
26+
#homelink img { max-width:40%; }
3127
}

_site/idea1.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta content="en-au" http-equiv="Content-Language" />
55
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6+
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Blog Feed" />
7+
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Blog Feed" />
68
<title>Code52</title>
79
<link rel="stylesheet" type="text/css" href="/css/style.css" />
810
</head>
911
<body>
1012
<div id="container">
1113
<div id="side">
12-
<h1>52</h1>
13-
<h2>a new coding project every week</h2>
14-
14+
<a href="/" id="homelink" title="home" alt="home"><img src="/img/logo.png" alt="Code 52 - a new coding project every week" /></a>
1515
<ul>
16-
<li><a href="#">about</a></li>
17-
<li><a href="#">submit an idea</a></li>
16+
<li><a href="/about">about</a></li>
17+
<li><a href="http://code52.uservoice.com">submit an idea</a></li>
1818
<li><a href="#">past ideas</a></li>
1919
</ul>
2020
</div>

_site/img/logo.png

14 KB
Loading

_site/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta content="en-au" http-equiv="Content-Language" />
55
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6+
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Blog Feed" />
7+
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Blog Feed" />
68
<title>Code52</title>
79
<link rel="stylesheet" type="text/css" href="/css/style.css" />
810
</head>
911
<body>
1012
<div id="container">
1113
<div id="side">
12-
<h1>52</h1>
13-
<h2>a new coding project every week</h2>
14-
14+
<a href="/" id="homelink" title="home" alt="home"><img src="/img/logo.png" alt="Code 52 - a new coding project every week" /></a>
1515
<ul>
16-
<li><a href="#">about</a></li>
17-
<li><a href="#">submit an idea</a></li>
16+
<li><a href="/about">about</a></li>
17+
<li><a href="http://code52.uservoice.com">submit an idea</a></li>
1818
<li><a href="#">past ideas</a></li>
1919
</ul>
2020
</div>

_site/rss.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0"?>
2+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3+
<channel>
4+
<title>Code52</title>
5+
<link>http://www.Code52.org/</link>
6+
<atom:link href="http://www.Code52.org/rss.xml" rel="self" type="application/rss+xml" />
7+
<description></description>
8+
<language>en-au</language>
9+
<pubDate>Wed, 14 Dec 2011 14:50:52 +1100</pubDate>
10+
<lastBuildDate>Wed, 14 Dec 2011 14:50:52 +1100</lastBuildDate>
11+
12+
13+
<item>
14+
<title>Idea 1: Cupcake ipsum dolor sit amet marshmallow.</title>
15+
<link>http://www.Code52.org/idea1.html</link>
16+
<pubDate>Wed, 14 Dec 2011 00:00:00 +1100</pubDate>
17+
<author>code52@code52.org (Code52 Team)</author>
18+
<guid>http://www.Code52.org/idea1</guid>
19+
<description>&lt;p&gt;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.&lt;/p&gt;
20+
21+
&lt;p&gt;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.
22+
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.&lt;/p&gt;
23+
24+
&lt;p&gt;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.&lt;/p&gt;
25+
</description>
26+
</item>
27+
28+
29+
</channel>
30+
</rss>

about.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: post
3+
title: About
4+
---

atom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: nil
3+
---
4+
<?xml version="1.0"?>
5+
<feed xmlns="http://www.w3.org/2005/Atom">
6+
<title>Code52</title>
7+
<link href="http://www.Code52.org/"/>
8+
<link type="application/atom+xml" rel="self" href="http://www.Code52.org/atom.xml"/>
9+
<updated>{{ site.time | date_to_xmlschema }}</updated>
10+
<id>http://www.Code52.org/</id>
11+
<author>
12+
<name>Code52 Team</name>
13+
<email>Code52@Code52.org</email>
14+
</author>
15+
16+
{% for post in site.posts limit:10 %}
17+
<entry>
18+
<id>http://www.Code52.org/{{ post.id }}</id>
19+
<link type="text/html" rel="alternate" href="http://www.Code52.org/{{ post.url }}"/>
20+
<title>{{ post.title | xml_escape }}</title>
21+
<updated>{{ post.date | date_to_xmlschema }}</updated>
22+
<author>
23+
<name>Code52 Team</name>
24+
<uri>http://www.Code52.org/</uri>
25+
</author>
26+
<content type="html">{{ post.content | xml_escape }}</content>
27+
</entry>
28+
{% endfor %}
29+
</feed>

0 commit comments

Comments
 (0)