diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-01-10 17:43:59 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-01-10 17:43:59 -0800 |
| commit | d4e1a0673842b6e3b3218d86cab79709ea458861 (patch) | |
| tree | 3903a2f99c2ec570c15eae6828e1d9bf4ced48dd | |
| parent | Delete a draft. (diff) | |
| download | lumberjaph-d4e1a0673842b6e3b3218d86cab79709ea458861.tar.gz | |
Rewrite the index and add a page for codex.
Diffstat (limited to '')
| -rw-r--r-- | _includes/footer.html | 9 | ||||
| -rw-r--r-- | codex.html (renamed from list.md) | 13 | ||||
| -rw-r--r-- | index.html | 48 |
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'>© 2008 – 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ésumé</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ésumé</a> ] </footer> @@ -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> @@ -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}}">«</a></p><br /> -{% endif %} -{% if page.next.url %} - <p id="bigright"><a href="{{page.next.url}}">»</a></p> -{% endif %} - -<div id="entry"> - {{ page.content }} - - <p class="timestamp"> - {% if page.previous.url %} - <a href="{{page.previous.url}}">« {{page.previous.title}}</a> | - {% endif %} - - {{ page.date | date_to_string }} - - {% if page.next.url %} - | <a href="{{page.next.url}}">{{page.next.title}} »</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 %} |
