Allow all posts to appear as weekly posts

This commit is contained in:
2023-08-21 21:00:57 +12:00
parent 6d7dfd83b5
commit f5be6e51ce

View File

@@ -96,8 +96,7 @@ module Adamantium
def week_posts(limit: nil)
posts
.where(post_type: "post", location: nil)
.exclude(name: nil)
.where(post_type: "post")
.weekly
.published
.combine(:tags)