<%= view_hooks.messageboards_index.messageboard.render self, messageboard: messageboard do %>
  <%= link_to messageboard.path,
              class: ['thredded--messageboard',
                      *('thredded--messageboard--has-unread-topics' if messageboard.unread_topics?),
                      *('thredded--messageboard--has-unread-followed-topics' if messageboard.unread_followed_topics?)] do %>
    <%= render 'thredded/messageboards/messageboard/header', messageboard: messageboard %>
    <%= render 'thredded/messageboards/messageboard/description', messageboard: messageboard %>
    <%= render 'thredded/messageboards/messageboard/last_updated', messageboard: messageboard %>
  <% end %>
<% end %>
