Skip to content

Instantly share code, notes, and snippets.

@sskylar
Created December 31, 2016 03:21
Show Gist options
  • Save sskylar/e40a1cabed7835068b86eadeae52979b to your computer and use it in GitHub Desktop.
Save sskylar/e40a1cabed7835068b86eadeae52979b to your computer and use it in GitHub Desktop.
Adding classes to images using metadata in Siteleaf/Jekyll
images
path class
/uploads/one.jpg
full
path class
/uploads/two.jpg
half

{% for image page.images %} {% endfor %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment