<% if !get_term_type.blank? %>

<%= get_term_type %> - <%= get_term_name %>

<% else %>

News

<% end %>
<% if !get_category_data.blank? get_category_data.each do |p| %>

<%= get_the_title p %>

<%= get_the_date p %>

<%= get_the_excerpt p %>

<% end %> <% else %>

No posts match the criteria.

<% end %>
<%= render theme_url 'sidebar' %>