Skip to content

Commit

Permalink
add readme to _plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Sep 1, 2018
1 parent d805d24 commit f615787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _plugins/jekyll-replace-imgs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Plugins

Plugins will be ignored on GitHub Pages! On Netlify and other full-featured Ruby environments, this plugin will transform `<img/>` tags into `<hy-img/>` custom elements, so that the image data is lazy-loaded when scrolled into view (requires Hydejack's JS runtime).

To disable this behavior on a specific image, add the `data-ignore` attribute, e.g. `![Alt text](assets/img.png){:data-ignore=""}`. To disable this altogether, just delete (or rename) this folder. To disable this feature even on builtin images, set `no_img` to `true` in the config file.

0 comments on commit f615787

Please sign in to comment.