summaryrefslogtreecommitdiff
path: root/source/aktuelles/blog.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'source/aktuelles/blog.html.haml')
-rw-r--r--source/aktuelles/blog.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/aktuelles/blog.html.haml b/source/aktuelles/blog.html.haml
new file mode 100644
index 0000000..875fb54
--- /dev/null
+++ b/source/aktuelles/blog.html.haml
@@ -0,0 +1,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