summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-07-07 01:59:38 -0700
committerFranck Cuny <franckcuny@gmail.com>2015-07-07 01:59:38 -0700
commitd4991b1136e6e9e8a14cd497148f381b8436454a (patch)
treead9368eeb25ae23f1d0f4caa2e3c2d0fa30531ae /index.html
parentAdd CNAME file for custom domain (diff)
downloadlumberjaph-d4991b1136e6e9e8a14cd497148f381b8436454a.tar.gz
Update layout.
Fix layout for static pages, update the about page, add some gists, etc.
Diffstat (limited to '')
-rw-r--r--index.html28
1 files changed, 8 insertions, 20 deletions
diff --git a/index.html b/index.html
index eb3b799..41b131e 100644
--- a/index.html
+++ b/index.html
@@ -3,28 +3,16 @@ layout: default
title: lumberjaph.net
---
-<center><h1><a href="{{ root_url }}/">lumberjaph.net</a></h1></center>
+{% for post in site.posts limit:1 %}
+<header>
+ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+</header>
-{% for post in site.posts reverse limit:10 %}
+<section>
- {% capture date %}{{ post.date }}{% endcapture %}
- {% capture this_year %}{{ date | date: "%Y" }}{% endcapture %}
+ <div id="entry"> {{ post.content }} </div>
- {% unless year == this_year %}
- {% assign year = this_year %}
- {% unless forloop.first %}
- </section>
- {% endunless %}
- <section class="archives"><h2>{{ date | date: "%Y" }}</h2>
- {% endunless %}
-
- <article>
- <h3><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h3>
- <div class="meta">
- // <span class="date">{{ date | date: "%b %e " }}</span> &#8208; <span class="oneliner">{{ post.summary }}</span>
- </div>
- </article>
+ {% include footer.html %}
+</section>
{% endfor %}
-
-{% include footer.html %}