:ruby
  canonical_url = @category.canonical_url(@posts)
  page_title = @category.page_title(@posts)

- @class_category_id = "category-" + @category.order.to_s
- @class_page_name = "category-index"

- content_for(:rel_next_prev_link_tags) { rel_next_prev_link_tags(@posts) }
- content_for(:canonical_tag) do
  %link{rel: :canonical, href: canonical_url}
- if @posts.current_page > 1
  - breadcrumb :page_num, @posts.current_page, category: @category
- else
  - breadcrumb :category, @category
- set_meta_tags title: page_title, og: @category.to_og_params
- set_meta_tags og: {url: canonical_url, title: "#{page_title} | #{current_site.name}"}

%section
  %h1.category-header= @category.name
  %p.category-description= raw render_markdown(@category.description)

  = render 'banner', position: :press_articles_top
  %ul
    - @posts.each do |post|
      = render 'posts/summary_with_content', post: post
    = render 'native_ad', position: :press_articles_bottom

  - if @posts.total_pages > 1
    %nav.pagination
      = paginate @posts
      %p.pagination__entries= page_entries_info @posts

:ruby
  canonical_url = @category.canonical_url(@posts)
  page_title = @category.page_title(@posts)

- @class_category_id = "category-" + @category.order.to_s
- @class_page_name = "category-index"

- content_for(:rel_next_prev_link_tags) { rel_next_prev_link_tags(@posts) }
- content_for(:canonical_tag) do
  %link{rel: :canonical, href: canonical_url}
- if @posts.current_page > 1
  - breadcrumb :page_num, @posts.current_page, category: @category
- else
  - breadcrumb :category, @category
- set_meta_tags title: page_title, og: @category.to_og_params
- set_meta_tags og: {url: canonical_url, title: "#{page_title} | #{current_site.name}"}

%section
  %h1.category-header= @category.name
  .category-description= raw render_markdown(@category.description)

  = render 'banner', position: :press_articles_top
  %ul
    - @posts.each do |post|
      = render 'posts/summary_with_content', post: post
    = render 'native_ad', position: :press_articles_bottom

  - if @posts.total_pages > 1
    %nav.pagination
      = paginate @posts
      %p.pagination__entries= page_entries_info @posts

Use <div> instead of <p> because rendered HTML may include <p>
Use <div> instead of <p> because rendered HTML may include <p>
