FIX: published-page-header should be a sibling to published-page-body not a parent (#10126)

FIX: published-page-header should be a sibling to published-page-body not a parent (#10126)

diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erb
index 4f51c09..f57fb07 100644
--- a/app/views/published_pages/show.html.erb
+++ b/app/views/published_pages/show.html.erb
@@ -9,11 +9,10 @@
         <div class="topic-created-at"><%= short_date(@topic.created_at) %></div>
       </div>
     </div>
-
-    <%- if @topic.first_post.present? %>
-      <div class="published-page-body">
-        <%= @topic.first_post.cooked.html_safe %>
-      </div>
-    <%- end -%>
   </div>
+  <%- if @topic.first_post.present? %>
+    <div class="published-page-body">
+      <%= @topic.first_post.cooked.html_safe %>
+    </div>
+  <%- end -%>
 </div>

GitHub sha: d5a06399

This commit appears in #10126 which was approved by eviltrout. It was merged by tshenry.