Sha256: 9ff7c02ef7a077ae73b0d9d0fbeda084dd52af1e30efa0295e953410131957de

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

---
sort: 10
---

# Arbitrary HTML Attributes

_Format:_

```yaml
attributes:
  (element): '(attributes)'
  (...)
```

_Example:_

```yaml
attributes:
  img: 'class="soopercool" data-awesomeness="11"'
  picture: 'class="even-cooler"'
```

HTML attributes you would like to add. The same arguments are available here as
in the liquid tag: HTML element names, `alt:`, `link:`, and `parent:`. Unescaped
double quotes cause problems with yml, so it's recommended to surround them with
single quotes.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll_picture_tag-2.1.2 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.1.1 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.1.0 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.0.4 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.0.3 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.0.2 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.0.1 docs/users/presets/html_attributes.md
jekyll_picture_tag-2.0.0 docs/users/presets/html_attributes.md