simplify homepage

This commit is contained in:
James Walker 2013-08-18 20:35:45 -04:00
parent 08c4a00a49
commit cdd0d75af7
2 changed files with 8 additions and 9 deletions

View File

@ -2,14 +2,11 @@
layout: default
title: striving towards mediocrity
---
{% for post in site.posts limit: 1 %}
{% assign content = post.content %}
{% include post.html %}
{% endfor %}
<h3>other recent posts:</h3>
{% for post in site.posts limit: 5 offset: 1 %}
{% include vcard.html %}
<h3>recent posts:</h3>
{% for post in site.posts limit: 5 %}
{% include article_list.html %}
{% endfor %}
{% include vcard.html %}

View File

@ -121,6 +121,10 @@ nav ul.navigation li a {
}
/** Article styles **/
article.hentry {
border-bottom: 1px #dedede solid;
}
article pre {
background: #000;
color: #fff;
@ -161,11 +165,9 @@ footer {
body>footer {
border-top: 1px #dedede solid;
padding: 1em 0;
margin: 0;
}
#main .vcard {
border-top: 1px #dedede solid;
padding: 10px 0;
margin: 1em 0 0 0;
clear: both;