Files
danbooru/app/views/explore/posts/popular.html.erb
evazion 463b1b734e Add curated posts page.
Add a curated posts page at /explore/posts/curated. Curated posts are
the most favorited posts by contributor-level users (users with
unlimited upload permissions).

Also add an order:curated tag using for use in regular searches.
2020-02-23 17:52:38 -06:00

16 lines
564 B
Plaintext

<% page_title "Popular Posts" %>
<% meta_description "The most popular 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-popular">
<h1>Popular: <%= date_range_description(@date, @scale, @min_date, @max_date) %></h1>
<%= render "explore/posts/nav_links", path: :popular_explore_posts_path, date: @date, scale: @scale %>
<%= render "posts/partials/common/inline_blacklist" %>
<%= post_previews_html(@posts) %>
</div>
</div>