simplify homepage
This commit is contained in:
parent
08c4a00a49
commit
cdd0d75af7
11
index.html
11
index.html
@ -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 %}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user