Added blog dir.

This commit is contained in:
Glenn Y. Rolland 2012-07-30 02:31:43 +02:00
parent 272d260e08
commit ab7963b2af

29
blog/index.html Normal file
View file

@ -0,0 +1,29 @@
---
layout: nil
is_index: true
---
{% 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 %}