Skip to content

Instantly share code, notes, and snippets.

@bob-lee
Created November 24, 2017 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bob-lee/e2bc03743979a68ca2f922bc6264fcbd to your computer and use it in GitHub Desktop.
Save bob-lee/e2bc03743979a68ca2f922bc6264fcbd to your computer and use it in GitHub Desktop.
Work page Handlebards template
<div id="images" class="images">
{{#each images}}
<div class="image" data-idx="{{@index}}">
<picture>
<img data-idx="{{@index}}" data-src="{{imageSrc this}}" class="image1" alt="{{this.fileName}}">
</picture>
</div>
{{/each}}
</div>
<script defer src="/intersection-observer.js"></script>
<script defer src="/work.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment