diff --git a/app/views/public/api/v1/portals/_category-block.html.erb b/app/views/public/api/v1/portals/_category-block.html.erb index de55d5398..cf8e342a9 100644 --- a/app/views/public/api/v1/portals/_category-block.html.erb +++ b/app/views/public/api/v1/portals/_category-block.html.erb @@ -1,7 +1,9 @@
-

- <%= category.name %> +

+ + <%= category.name %> +

<%= category.articles.published.size %> @@ -15,28 +17,27 @@
<% else %> <% category.articles.published.take(5).each do |article| %> -
- + + + + + + + +
+ <% end %> <% end %>