diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-01-03 20:16:31 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-01-03 20:16:31 -0800 |
| commit | 8bc8ec403190d12bdac13c21563e8e82cca9452e (patch) | |
| tree | 02dc7789ea71f16bc9c02d9a45b085fc02beda67 | |
| parent | Add solarized dark for CSS. (diff) | |
| download | lumberjaph-8bc8ec403190d12bdac13c21563e8e82cca9452e.tar.gz | |
Make the index page similar to a post page.
Diffstat (limited to '')
| -rw-r--r-- | index.html | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -2,29 +2,29 @@ layout: default --- -{% assign post = site.posts.first %} +{% assign page = site.posts.first %} -<h1><a href="{{ post.url }}">{{ post.title }}</a></h1> +<h1><a href="{{ page.url }}">{{ page.title }}</a></h1> -{% if post.previous.url %} - <p id="bigleft"><a href="{{post.previous.url}}">«</a></p><br /> +{% if page.previous.url %} + <p id="bigleft"><a href="{{page.previous.url}}">«</a></p><br /> {% endif %} -{% if post.next.url %} - <p id="bigright"><a href="{{post.next.url}}">»</a></p> +{% if page.next.url %} + <p id="bigright"><a href="{{page.next.url}}">»</a></p> {% endif %} <div id="entry"> - {{ post.content }} + {{ page.content }} <p class="timestamp"> - {% if post.previous.url %} - <a href="{{post.previous.url}}">« {{post.previous.title}}</a> | + {% if page.previous.url %} + <a href="{{page.previous.url}}">« {{page.previous.title}}</a> | {% endif %} - {{ post.date | date_to_string }} + {{ page.date | date_to_string }} - {% if post.next.url %} - | <a href="{{post.next.url}}">{{post.next.title}} »</a> + {% if page.next.url %} + | <a href="{{page.next.url}}">{{page.next.title}} »</a> {% endif %} </p> |
