diff --git a/src/Feeds/Sitemaps/PostFeed.php b/src/Feeds/Sitemaps/PostFeed.php deleted file mode 100644 index 8a26223..0000000 --- a/src/Feeds/Sitemaps/PostFeed.php +++ /dev/null @@ -1,37 +0,0 @@ -withCount('comments') - ->with('author') - ->where('created_at', '>', now()->subYear()); - } - - public function rootItem(): ?string - { - return 'urlset'; - } - - public function filename(): string - { - return 'sitemaps/posts.xml'; - } - - public function item(Model $model): FeedItem - { - return new Items\Sitemaps\PostFeedItem($model); - } -}