From 8bc8ec403190d12bdac13c21563e8e82cca9452e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 3 Jan 2014 20:16:31 -0800 Subject: Make the index page similar to a post page. --- index.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'index.html') 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 %} -

{{ post.title }}

+

{{ page.title }}

-{% if post.previous.url %} -

«


+{% if page.previous.url %} +

«


{% endif %} -{% if post.next.url %} -

»

+{% if page.next.url %} +

»

{% endif %}
- {{ post.content }} + {{ page.content }}

- {% if post.previous.url %} - « {{post.previous.title}} | + {% if page.previous.url %} + « {{page.previous.title}} | {% endif %} - {{ post.date | date_to_string }} + {{ page.date | date_to_string }} - {% if post.next.url %} - | {{post.next.title}} » + {% if page.next.url %} + | {{page.next.title}} » {% endif %}

-- cgit v1.2.3