summaryrefslogtreecommitdiff
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
parentDelete a draft. (diff)
downloadlumberjaph-d4e1a0673842b6e3b3218d86cab79709ea458861.tar.gz
Rewrite the index and add a page for codex.
-rw-r--r--_includes/footer.html9
-rw-r--r--codex.html (renamed from list.md)13
-rw-r--r--index.html48
3 files changed, 26 insertions, 44 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 0753098..2847fae 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,7 +1,8 @@
<footer>
<p id='copyright'>&copy; 2008 &ndash; 2013 Franck Cuny.
- [ <a href='/list.html'>All posts</a> |
- <a href='/projects.html'>Projects</a> |
- <a href='/about.html'>Colophon</a> |
- <a href='/resume.html'>R&eacute;sum&eacute;</a> ]
+ [ <a href='/'>Writings</a> |
+ <a href='/codex.html'>Codex</a> |
+ <a href='/projects.html'>Projects</a> |
+ <a href='/about.html'>Colophon</a> |
+ <a href='/resume.html'>R&eacute;sum&eacute;</a> ]
</footer>
diff --git a/list.md b/codex.html
index 18fc7a8..29c19d6 100644
--- a/list.md
+++ b/codex.html
@@ -1,20 +1,19 @@
---
layout: static
-title: List of articles
+title: Codex
---
-<h1><a href=''>Lumberjaph</a></h1>
+<h1><a href='/codex.html'>Codex</a></h1>
<div id='wrapper'>
- <h3>Posts</h3>
-
- <ul>
+ <ul>
{% for post in site.posts %}
+ {% if post.type == "codex" %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<span class="date">{{ post.date | date_to_string }}</span>
</li>
+ {% endif %}
{% endfor %}
- </ul>
-
+ </ul>
</div>
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 %}