<% if Thredded.standalone_layout? %> <%# I moved this list into the standalone_layout? check since we moved everything else out of it and I didn't want the blank element (with borders) rendered. We can restyle this if we ever go for a standalone layout and/or add more content to this again. %>
    <%= render 'thredded/shared/nav/standalone_profile' if thredded_signed_in? %> <%= render 'thredded/shared/nav/standalone' %>
<% end %> <% if content_for? :thredded_main_navigation %> <%= yield :thredded_main_navigation %> <% else %>
<%# Navigation scoped to the current messageboard if any. %> <%# yield :thredded_breadcrumbs %> <%= render 'thredded/search/form', messageboard: messageboard_or_nil %>
    <%# render 'thredded/shared/nav/unread_topics', messageboard: messageboard_or_nil %>
<% end %>