Skip to content

Commit e81a534

Browse files
committed
Update docs
1 parent 4e1c1cc commit e81a534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Check out the modifier [example below](examples#using-with-the-bard-modifiers) t
153153
Statamic includes a set of [modifiers](https://statamic.dev/modifiers) that can extract items from Bard fields and output their content. For example, after adding heading IDs or permalinks you could create a simple table contents like this:
154154

155155
```html
156-
{{ headings = article | raw | bard_items | where:type:heading }}
156+
{{ headings = article | raw | bard_items | where('type', 'heading') }}
157157
{{ headings }}
158158
<a href="#{{ content | bard_text | slugify }}">{{ content | bard_html }}</a>
159159
{{ /headings }}

0 commit comments

Comments
 (0)