Skip to content

Commit 8069fd5

Browse files
AtmoFXAtmoFX
andauthored
Collection tag (blade): from <collection:xxx> to <statamic:collection:xxx> (#1689)
Co-authored-by: AtmoFX <[email protected]>
1 parent ca9452b commit 8069fd5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/collections/tags/collection.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ Often times you'd like to have some extra markup around your list of entries, bu
572572
```
573573
::tab blade
574574
```blade
575-
<collection:blog
575+
<statamic:collection:blog
576576
as="posts"
577577
>
578578
<ul>
@@ -582,7 +582,7 @@ Often times you'd like to have some extra markup around your list of entries, bu
582582
</li>
583583
@endforeach
584584
</ul>
585-
</collection:blog>
585+
</statamic:collection:blog>
586586
```
587587
::
588588

@@ -609,13 +609,13 @@ featured_image: /img/totes-adorbs-kitteh.jpg
609609

610610
::tab blade
611611
```blade
612-
<collection:blog
612+
<statamic:collection:blog
613613
scope="post"
614614
>
615615
<div class="block">
616616
<img src="{{ $post->featured_image }}">
617617
</div>
618-
</collection:blog>
618+
</statamic:collection:blog>
619619
```
620620
::
621621

@@ -634,15 +634,15 @@ You can also add your scope down into your [alias](#alias) loop. Yep, we thought
634634
```
635635
::tab blade
636636
```blade
637-
<collection:blog
637+
<statamic:collection:blog
638638
as="posts"
639639
>
640640
@foreach ($posts as $post)
641641
<div class="block">
642642
<img src="{{ $post->featured_image }}">
643643
</div>
644644
@endforeach
645-
</collection:blog>
645+
</statamic:collection:blog>
646646
```
647647
::
648648

0 commit comments

Comments
 (0)