<%if(!bundle.open) {%><div class="headline"><h2>This community is closed to new posts.</h2></div><%}%>
<% if(bundle.posts.length === 0) {%>
    <p class="no-posts-text"><%= lang.global.no_posts %></p>
<%} else { %>
    <% bundle.posts.forEach(function(post) { %>
        <%- include('post_template', { post: post, userContent: bundle.userContent, communityMap: bundle.communityMap, reply: false  }); %>
    <% }); %>
    <div id="wrapper" class="bottom">
        <button id="load-more" data-href="<%= bundle.link %>"><%= lang.global.more %></button>
    </div>
<%}%>