diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 15:50:01 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 15:51:51 +0200 |
commit | bf9f0c429788bc0b6a07867d3ad880bcdf75885d (patch) | |
tree | 617935c5abdc6f45bf92923c2c16f4becee8cb10 /blog/index.html | |
parent | 59796270fef02a4cfcd5e283b193d018b9a29712 (diff) | |
download | norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.tar.gz norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.tar.bz2 norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.zip |
Move pagination to separate partial and style it a bit.
Diffstat (limited to 'blog/index.html')
-rw-r--r-- | blog/index.html | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/blog/index.html b/blog/index.html index 2ccbbb0..3ed591a 100644 --- a/blog/index.html +++ b/blog/index.html @@ -19,6 +19,9 @@ layout: default </section> </article> {% endfor %} + + {% include pagination.html %} + </section> {% if site.links %} @@ -26,18 +29,3 @@ layout: default <h2>{% t home.links %}</h2> </section> {% endif %} - -<!-- Pagination links --> -<div class="pagination"> - {% if paginator.previous_page %} - <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous">{% t home.prev_page %}</a> - {% else %} - <span class="previous">{% t home.prev_page %}</span> - {% endif %} - <span class="page_number ">{% t home.page_no %} {{ paginator.page }} / {{ paginator.total_pages }}</span> - {% if paginator.next_page %} - <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next">{% t home.next_page %}</a> - {% else %} - <span class="next ">{% t home.next_page %}</span> - {% endif %} -</div> |