Skip to content

Commit

Permalink
Use the blog post feed component
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 24, 2024
1 parent d293c90 commit 3805441
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/framework/resources/views/pages/author.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@
<div class="mt-12">
<h2 class="text-2xl font-semibold mb-4 text-gray-900 dark:text-white">Posts by {{ $author->name }}</h2>
<ul class="space-y-4">
@foreach($author->getPosts() as $post)
<li>
<article itemscope itemtype="https://schema.org/BlogPosting">
@include('hyde::components.article-excerpt', ['post' => $post])
</article>
</li>
@endforeach
@include('hyde::components.blog-post-feed', ['posts' => $author->getPosts()])
</ul>
</div>
</main>
Expand Down

0 comments on commit 3805441

Please sign in to comment.