image_share.html 544 B

1234567891011121314151617181920212223242526272829
  1. <head>
  2. <title>image_share</title>
  3. </head>
  4. <body>
  5. <h1>Welcome to coursera!</h1>
  6. <div class="container">
  7. {{> images}}
  8. </div>
  9. </body>
  10. <template name="images">
  11. <div class="row">
  12. {{#each images}}
  13. <div class="col-xs-12 col-md-3">
  14. <div class="thumbnail">
  15. <img class="js-image" src="{{img_src}}"
  16. alt="{{img_alt}}"/>
  17. <div class="caption">
  18. <h3>Thumbnail label</h3>
  19. <p>description of the image</p>
  20. </div>
  21. </div>
  22. </div> <!-- / col -->
  23. {{/each}}
  24. </div> <!-- / row -->
  25. </template>