Fix the /pools/gallery page layout being broken by 8841de68a.
This required refactoring the PostGalleryComponent to take a set of
PostPreviewComponents instead of a set of Posts.
The upshot is that it's technically possible to have adjustable
thumbnail sizes on the pool gallery page now (although this is not yet
exposed in the UI).
20 lines
672 B
Plaintext
20 lines
672 B
Plaintext
<% page_title "Curated Posts" %>
|
|
<% meta_description "The best posts of #{date_range_description(@date, @scale, @min_date, @max_date)}" %>
|
|
|
|
<%= render "posts/partials/common/secondary_links" %>
|
|
|
|
<div id="c-explore-posts">
|
|
<div id="a-curated">
|
|
<h1>Curated: <%= date_range_description(@date, @scale, @min_date, @max_date) %></h1>
|
|
|
|
<%= render "explore/posts/nav_links", path: :curated_explore_posts_path, date: @date, scale: @scale %>
|
|
<%= render "posts/partials/common/inline_blacklist" %>
|
|
|
|
<%= render_post_gallery(@posts) do |gallery| %>
|
|
<% gallery.footer do %>
|
|
<%= numbered_paginator(@posts) %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|