Skip to content

Commit

Permalink
Fix README code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoizey committed Aug 19, 2019
1 parent ba75cc9 commit 3b26b2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,12 @@ You should obviously not add to preset attributes that should have different val
You can set a `class`, `aria-*` attributes for enhanced accessibility, or even `data-*` attributes you would like to use later with CSS or JavaScript.

Also it's possible to pass liquid variables inside the tags, so for example if you have your picture path in the front matter (in the post markdown file), you can send it to Cloudinary Plugin, such as:
```

<!-- {% raw %} -->
```liquid
{% cloudinary {{page.thumbnail}} class="post-image" itemprop="image" alt="{{page.title}} image"%}
```

<!-- {% endraw %} -->

## Liquid tag attributes

Expand Down

0 comments on commit 3b26b2b

Please sign in to comment.