diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-21 11:31:35 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-21 11:31:35 +0200 |
commit | 9de59307c9cddf689ea3f302571bb6cfd0d689fa (patch) | |
tree | 11c517be7ffeb73a94299b782ac023eeb9c0c338 /source/aktuelles/blog.html.haml | |
parent | 454e1624b45107adb5d140dcdae3e7bfb554c88f (diff) |
converted templates from erb to haml
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 |