summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2014-01-03 20:16:31 -0800
committerFranck Cuny <franck.cuny@gmail.com>2014-01-03 20:16:31 -0800
commit8bc8ec403190d12bdac13c21563e8e82cca9452e (patch)
tree02dc7789ea71f16bc9c02d9a45b085fc02beda67
parentAdd solarized dark for CSS. (diff)
downloadlumberjaph-8bc8ec403190d12bdac13c21563e8e82cca9452e.tar.gz
Make the index page similar to a post page.
-rw-r--r--index.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/index.html b/index.html
index 6ff84a4..df0bd7d 100644
--- a/index.html
+++ b/index.html
@@ -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}}">&laquo;</a></p><br />
+{% if page.previous.url %}
+ <p id="bigleft"><a href="{{page.previous.url}}">&laquo;</a></p><br />
{% endif %}
-{% if post.next.url %}
- <p id="bigright"><a href="{{post.next.url}}">&raquo;</a></p>
+{% if page.next.url %}
+ <p id="bigright"><a href="{{page.next.url}}">&raquo;</a></p>
{% endif %}
<div id="entry">
- {{ post.content }}
+ {{ page.content }}
<p class="timestamp">
- {% if post.previous.url %}
- <a href="{{post.previous.url}}">&laquo; {{post.previous.title}}</a> |
+ {% if page.previous.url %}
+ <a href="{{page.previous.url}}">&laquo; {{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}} &raquo;</a>
+ {% if page.next.url %}
+ | <a href="{{page.next.url}}">{{page.next.title}} &raquo;</a>
{% endif %}
</p>