Skip to content

Commit

Permalink
tweaked the layouts, added a footer
Browse files Browse the repository at this point in the history
  • Loading branch information
thenoviceoof committed Nov 26, 2011
1 parent d25006e commit 1e9b11f
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 42 deletions.
13 changes: 12 additions & 1 deletion _layouts/default.html
Expand Up @@ -16,7 +16,18 @@ <h2><a href="http://jasonrudolph.com/blog/2011/08/09/programming-achievements-ho
</div>

<footer>
<!-- Something should go here -->
<ul>
<li>
<a href="#">Report problems</a>
</li>
<li>
Using <a href="http://tango.freedesktop.org/">Tango icons</a> and
<a href="http://meyerweb.com/eric/tools/css/reset/">Eric's reset.css</a>
</li>
<li>
Template by <a href="http://thenoviceoof.com">thenoviceoof</a>
</li>
</ul>
</footer>
</body>
</html>
25 changes: 25 additions & 0 deletions css/style.css
Expand Up @@ -108,4 +108,29 @@ header h2 {
article p {
margin:0.5em;
text-indent:0.5em;
}

/* footer ---------------------------------------- */

footer {
margin:0 auto;
text-align:center;
color:#555;
}

footer a {
color:#555;
}

footer a:visited {
color:#888;
}

footer li {
display:inline-block;
padding:0 1em;
}

footer li + li {
border-left:1px solid #DDD;
}
92 changes: 51 additions & 41 deletions index.html
@@ -1,6 +1,6 @@
---
layout: default
title: Bob
title: YOUR NAME HERE
url: http://example.com
---

Expand All @@ -18,56 +18,66 @@ <h2>{{ post.title }}</h2>
</div>

<div>
<h1>Experience the ins and outs of programming for different platforms:</h1>
{% for post in site.categories.platforms %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.finished }}</time>
{{ post.content }}
</div>
{% endfor %}
<h1>Experience the ins and outs of programming for different platforms:</h1>
{% for post in site.categories.platforms %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.time }}</time>
<article>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

<div>
<h1>Enhance your understanding of the building blocks that we use as developers:</h1>
{% for post in site.categories.building-blocks %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.finished }}</time>
{{ post.content }}
</div>
{% endfor %}
<h1>Enhance your understanding of the building blocks that we use as developers:</h1>
{% for post in site.categories.building-blocks %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.time }}</time>
<article>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

<div>
<h1>Enlighten yourself with koans, katas, and the wisdom of ages:</h1>
{% for post in site.categories.wisdom %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.finished }}</time>
{{ post.content }}
</div>
{% endfor %}
<h1>Enlighten yourself with koans, katas, and the wisdom of ages:</h1>
{% for post in site.categories.wisdom %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.time }}</time>
<article>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

<div>
<h1>Program in the open:</h1>
{% for post in site.categories.open %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.finished }}</time>
{{ post.content }}
</div>
{% endfor %}
<h1>Program in the open:</h1>
{% for post in site.categories.open %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.time }}</time>
<article>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

<div>
<h1>Learn by teaching others:</h1>
{% for post in site.categories.teaching %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.finished }}</time>
{{ post.content }}
</div>
{% endfor %}
<h1>Learn by teaching others:</h1>
{% for post in site.categories.teaching %}
<div class="{{ post.status }}">
<h2>{{ post.title }}</h2>
<time>{{ post.time }}</time>
<article>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

0 comments on commit 1e9b11f

Please sign in to comment.