summaryrefslogtreecommitdiff
path: root/source/aktuelles/blog.html.haml
blob: 875fb54ddd9615361ca4b05b70f1e651902a19ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
pageable: true
per_page: 10
section: "aktuelles"
---
.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
.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