We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc6068 commit 6cbefcfCopy full SHA for 6cbefcf
packages/framework/resources/views/components/blog-post-feed.blade.php
@@ -1,7 +1,7 @@
1
<ol itemscope itemtype="https://schema.org/ItemList">
2
- @foreach(MarkdownPost::getLatestPosts()->values() as $index => $post)
+ @foreach(MarkdownPost::getLatestPosts() as $post)
3
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" class="mt-4 mb-8">
4
- <meta itemprop="position" content="{{ $index + 1 }}">
+ <meta itemprop="position" content="{{ $loop->iteration }}">
5
@include('hyde::components.article-excerpt')
6
</li>
7
@endforeach
0 commit comments