Skip to content

Commit

Permalink
docs(hugo): tweak bindings example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw authored Mar 11, 2022
1 parent c5f1beb commit c727af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/hugo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ This takes the form of the `bookshop_bindings` partial:


{{ partial "bookshop_bindings" `.Params.content_blocks` }}
{{ partial "bookshop_partial" (slice "page" .Params.content_blocks) }}
{{ partial "bookshop" (slice "page" .Params.content_blocks) }}
```

The `bookshop_bindings` partial should be given a string representation of the data passed to the bookshop tag. This allows Bookshop to connect that component with the correct front-matter values when visual editing. This tag is only needed in your site layouts — a Bookshop component using another Bookshop component does not need explicit `bookshop_bindings`.
Expand Down

0 comments on commit c727af0

Please sign in to comment.