summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2014-01-10 17:43:59 -0800
committerFranck Cuny <franck.cuny@gmail.com>2014-01-10 17:43:59 -0800
commitd4e1a0673842b6e3b3218d86cab79709ea458861 (patch)
tree3903a2f99c2ec570c15eae6828e1d9bf4ced48dd /index.html
parentDelete a draft. (diff)
downloadlumberjaph-d4e1a0673842b6e3b3218d86cab79709ea458861.tar.gz
Rewrite the index and add a page for codex.
Diffstat (limited to '')
-rw-r--r--index.html48
1 files changed, 15 insertions, 33 deletions
diff --git a/index.html b/index.html
index 60efc1e..884466e 100644
--- a/index.html
+++ b/index.html
@@ -1,37 +1,19 @@
---
-layout: default
+layout: static
+title: Writings
---
-{% assign page = site.posts.first %}
-
-<div id="logo">
- <a href='/list.html'><img src='/static/imgs/logo.png' alt='' /></a>
-</div>
-
-<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
-
-{% if page.previous.url %}
- <p id="bigleft"><a href="{{page.previous.url}}">&laquo;</a></p><br />
-{% endif %}
-{% if page.next.url %}
- <p id="bigright"><a href="{{page.next.url}}">&raquo;</a></p>
-{% endif %}
-
-<div id="entry">
- {{ page.content }}
-
- <p class="timestamp">
- {% if page.previous.url %}
- <a href="{{page.previous.url}}">&laquo; {{page.previous.title}}</a> |
- {% endif %}
-
- {{ page.date | date_to_string }}
-
- {% if page.next.url %}
- | <a href="{{page.next.url}}">{{page.next.title}} &raquo;</a>
- {% endif %}
- </p>
-
+<h1><a href='/'>Writings</a></h1>
+
+<div id='wrapper'>
+ <ul>
+ {% for post in site.posts %}
+ {% unless post.type == "codex" %}
+ <li>
+ <a href="{{ post.url }}">{{ post.title }}</a>
+ <span class="date">{{ post.date | date_to_string }}</span>
+ </li>
+ {% endunless %}
+ {% endfor %}
+ </ul>
</div>
-
-{% include footer.html %}