Skip to content

Commit

Permalink
fix: name variable fixed for using double underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
josue2591 committed Dec 16, 2022
1 parent 1f64b63 commit 009e4fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/01-atoms/images/icons/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Simple: (no BEM renaming)

```
{% include "@atoms/images/icons/_icon.twig" with {
icon_name: 'menu',
icon__name: 'menu',
} %}
```

Expand All @@ -36,7 +36,7 @@ Complex (BEM classes):
{% include "@atoms/04-images/icons/_icon.twig" with {
icon_base_class: 'toggle',
icon_blockname: 'main-nav',
icon_name: 'menu',
icon__name: 'menu',
} %}
```

Expand Down
2 changes: 1 addition & 1 deletion components/01-atoms/images/icons/icons.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% for item in icons %}
<div class="icons-demo__item">
{% include "@atoms/images/icons/_icon.twig" with {
icon_name: item
icon__name: item
} %}
<pre>{{ item }}</pre>
</div>
Expand Down

0 comments on commit 009e4fd

Please sign in to comment.