diff options
Diffstat (limited to 'app/views/blogs/_list.html.haml')
| -rw-r--r-- | app/views/blogs/_list.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/app/views/blogs/_list.html.haml b/app/views/blogs/_list.html.haml new file mode 100644 index 0000000..3618bdb --- /dev/null +++ b/app/views/blogs/_list.html.haml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | - if not @main_page | ||
| 2 | = will_paginate @blogs | ||
| 3 | - @blogs.each do |blog| | ||
| 4 | = render blog, short: true | ||
| 5 | = will_paginate @blogs | ||
