Skip to content

Commit

Permalink
Fix liquid variable syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushn21 committed Jun 16, 2021
1 parent c2397b4 commit adfc8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can use Liquid variables by enclosing them in double braces (`{{ }}`)
```liquid
<!-- Liquid -->
{% assign svg_file = "thumbs-up" %}
{% svg_class_list = "icon icon--small" %}
{% assign svg_class_list = "icon icon--small" %}
{% svg "/assets/icons/{{ svg_file }}.svg", class: "{{ svg_class_list }}" %}
```

Expand Down

0 comments on commit adfc8bd

Please sign in to comment.