summaryrefslogtreecommitdiff
path: root/source/aktuelles/blog.html.haml
blob: 68f4c200de89910af1508aff41abe29060088eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
pageable: true
per_page: 10
section: "aktuelles"
---
%h2
  News
.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