diff options
Diffstat (limited to 'source/aktuelles/blog.html.haml')
-rw-r--r-- | source/aktuelles/blog.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/aktuelles/blog.html.haml b/source/aktuelles/blog.html.haml new file mode 100644 index 0000000..8be9786 --- /dev/null +++ b/source/aktuelles/blog.html.haml @@ -0,0 +1,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 += 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 |