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

This commit is contained in:
tshenry 2020-06-25 14:47:05 -07:00 committed by GitHub
parent d58360f72e
commit d5a063993d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>