From c271b0c3948d8ad7ae95e2dfa77a3ea5bfb3e06a Mon Sep 17 00:00:00 2001 From: tshenry Date: Thu, 25 Jun 2020 14:47:05 -0700 Subject: [PATCH] FIX: published-page-header should be a sibling to published-page-body not a parent (#10126) --- app/views/published_pages/show.html.erb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erb index 4f51c09405..f57fb078be 100644 --- a/app/views/published_pages/show.html.erb +++ b/app/views/published_pages/show.html.erb @@ -9,11 +9,10 @@
<%= short_date(@topic.created_at) %>
- - <%- if @topic.first_post.present? %> -
- <%= @topic.first_post.cooked.html_safe %> -
- <%- end -%> + <%- if @topic.first_post.present? %> +
+ <%= @topic.first_post.cooked.html_safe %> +
+ <%- end -%>