Updated index for presentation page.

This commit is contained in:
Glenn Y. Rolland 2012-07-30 02:31:49 +02:00
parent ab7963b2af
commit 90c5840c54

View file

@ -1,28 +1,7 @@
--- ---
layout: nil layout: nil
is_index: true
--- ---
{% include header.html %} {% include header.html %}
{% for post in paginator.posts %}
{% include post.html %}
{% endfor %}
<div class="pagination" id="bottom_page">
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li class="previous"><a href="{{ linkhome }}">&larr; Previous</a></li>
{% else %}
<li class="previous"><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}">&larr; Previous</a></li>
{% endif %}
{% endif %}
<li><p>Page {{ paginator.page }} of {{ paginator.total_pages }}</p></li>
{% if paginator.next_page %}
<li class="next"><a href="{{ site.baseurl }}/page{{ paginator.next_page }}">Next &rarr;</a></li>
{% endif %}
</ul>
</div>
{% include footer.html %} {% include footer.html %}