<%= render partial: 'partials/breadcrumb', locals: {breadcrumb: @category.the_breadcrumb } %>

<%= @category.the_title %>

<%= raw @category.the_content %>


<% if @children.present? %>
Sub Categories
<%= render partial: "partials/categories_list", locals: {categories: @children } %>
<% end %>
Content
<% @posts.each_with_index do |post, index| %> <%= raw "
" if index%3 == 0 && index > 0 %> <%= render partial: 'partials/post_list_item', locals: {post: post.decorate} %> <% end %>
<%= content_tag("div", raw(ct('no_contents_found')), class: "alert alert-warning") if @posts.empty? %> <%= raw cama_do_pagination(@posts) %>