<% content_for :head do %> <%= @category.name %> | <%= @portal.name %> <% if @category.description.present? %> <% end %> <% end %>
<%= I18n.t('public_portal.common.home') %> /

<%= @category.name %>

<%= render 'public/api/v1/portals/article_count', article_count: @category.articles.published.size %>
<% if @category.articles.published.size == 0 %>

<%= I18n.t('public_portal.common.no_articles') %>

<% else %> <% @category.articles.published.order(:position).each do |article| %>

<%= article.title %>

<%= I18n.t('public_portal.common.last_updated_on', last_updated_on: article.updated_at.strftime("%b %d, %Y")) %>

<% end %> <% end %>