Skip to content

A platform for community discussion. Free, open, simple.

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

tshenryd5a063993dda
diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erb
index 4f51c094059..f57fb078be7 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>