summaryrefslogtreecommitdiff
path: root/source/aktuelles/blog.html.haml
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 15:00:33 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 15:00:33 +0200
commit63dbddf6c3d36549e55b80d4c720303d04dd3175 (patch)
tree409aa29b757204c023d196950b5f9aa3fc2e0148 /source/aktuelles/blog.html.haml
parenta767ac373836d9ea9601635e3c3843ef2cde2dbd (diff)
migrate blog to foundation
Diffstat (limited to 'source/aktuelles/blog.html.haml')
-rw-r--r--source/aktuelles/blog.html.haml18
1 files changed, 10 insertions, 8 deletions
diff --git a/source/aktuelles/blog.html.haml b/source/aktuelles/blog.html.haml
index fbbffcd..875fb54 100644
--- a/source/aktuelles/blog.html.haml
+++ b/source/aktuelles/blog.html.haml
@@ -3,12 +3,14 @@ pageable: true
per_page: 10
section: "aktuelles"
---
-- if paginate && num_pages > 1
- %ul.pager
- %li{:class => "previous #{prev_page ? "" : "disabled"}"}= link_to 'Vorherige Seite', prev_page
- %li{:class => "next #{next_page ? "" : "disabled"}"}= link_to 'Nächste Seite', next_page
+.pagination-centered
+ - if paginate && num_pages > 1
+ %ul.pagination
+ %li{:class => "previous left #{prev_page ? "" : "disabled"}"}= link_to 'Vorherige Seite', prev_page
+ %li{:class => "next right #{next_page ? "" : "disabled"}"}= link_to 'Nächste Seite', next_page
= partial "article", collection: page_articles
-- if paginate && num_pages > 1
- %ul.pager
- %li{:class => "previous #{prev_page ? "" : "disabled"}"}= link_to 'Vorherige Seite', prev_page
- %li{:class => "next #{next_page ? "" : "disabled"}"}= link_to 'Nächste Seite', next_page
+.pagination-centered
+ - if paginate && num_pages > 1
+ %ul.pagination
+ %li{:class => "previous left #{prev_page ? "" : "disabled"}"}= link_to 'Vorherige Seite', prev_page
+ %li{:class => "next right #{next_page ? "" : "disabled"}"}= link_to 'Nächste Seite', next_page