Added blog dir.
This commit is contained in:
parent
272d260e08
commit
ab7963b2af
1 changed files with 29 additions and 0 deletions
29
blog/index.html
Normal file
29
blog/index.html
Normal 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 }}">← Previous</a></li>
|
||||
{% else %}
|
||||
<li class="previous"><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}">← 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 →</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
Loading…
Reference in a new issue