summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2014-03-23 17:26:22 -0700
committerFranck Cuny <franck.cuny@gmail.com>2014-03-23 17:26:22 -0700
commit24f83b6dde41e04b5dbaec2dd7a351d896553846 (patch)
tree9b2f8eaee6cc7981ec47fba566be8439846e9094 /index.html
parentnew post: cursive with nrepl (diff)
downloadlumberjaph-24f83b6dde41e04b5dbaec2dd7a351d896553846.tar.gz
Modify CSS and display most recent article on /
Diffstat (limited to '')
-rw-r--r--index.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/index.html b/index.html
index 6d92166..fc5c837 100644
--- a/index.html
+++ b/index.html
@@ -1,17 +1,17 @@
---
-layout: static
-title: Writings
+layout: default
---
-<ul class="post-listing">
- {% for post in site.posts limit:5 %}
- <li>
- <header class="entry-title">
- <h2>
- <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
- </h2>
- <p class="oneliner">{{ post.summary }}</p>
- </header>
- </li>
- {% endfor %}
-</ul>
+{% assign page = site.posts.first %}
+
+<article id="entry">
+
+ <header class="entry-title">
+ <h1>{{ page.title }}</h1>
+ </header>
+
+ <section>
+ {{ page.content }}
+ </section>
+
+</article>