simplify homepage
This commit is contained in:
parent
08c4a00a49
commit
cdd0d75af7
11
index.html
11
index.html
@ -2,14 +2,11 @@
|
|||||||
layout: default
|
layout: default
|
||||||
title: striving towards mediocrity
|
title: striving towards mediocrity
|
||||||
---
|
---
|
||||||
{% for post in site.posts limit: 1 %}
|
|
||||||
{% assign content = post.content %}
|
|
||||||
{% include post.html %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<h3>other recent posts:</h3>
|
{% include vcard.html %}
|
||||||
{% for post in site.posts limit: 5 offset: 1 %}
|
|
||||||
|
<h3>recent posts:</h3>
|
||||||
|
{% for post in site.posts limit: 5 %}
|
||||||
{% include article_list.html %}
|
{% include article_list.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% include vcard.html %}
|
|
||||||
|
@ -121,6 +121,10 @@ nav ul.navigation li a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Article styles **/
|
/** Article styles **/
|
||||||
|
article.hentry {
|
||||||
|
border-bottom: 1px #dedede solid;
|
||||||
|
}
|
||||||
|
|
||||||
article pre {
|
article pre {
|
||||||
background: #000;
|
background: #000;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -161,11 +165,9 @@ footer {
|
|||||||
body>footer {
|
body>footer {
|
||||||
border-top: 1px #dedede solid;
|
border-top: 1px #dedede solid;
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#main .vcard {
|
#main .vcard {
|
||||||
border-top: 1px #dedede solid;
|
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
margin: 1em 0 0 0;
|
margin: 1em 0 0 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user