Posted by Some Person Published on February 06, 2015

Here you’ll find a simple gallery, that just adds all of the images at full-width directly in the post content.

Galleries are defined in a data-sheet, set type and gallery-id in front matter and include gallery.html within the content.

- id: gallery
  imagefolder: /img/galleries/gallery-standard-post
  - filename: 1.jpg
    alttext: Bloom Flat
  - filename: 2.jpg
    alttext: Bloom
  - filename: 3.jpg
    alttext: Blossom in a Star
  - filename: 4.jpg
    alttext: Blossom
  - filename: 5.jpg
    alttext: Bubbly Bloom
  - filename: 6.jpg
    alttext: Rays of Gold
  - filename: 7.jpg
    alttext: Exotic
  - filename: 8.jpg
    alttext: Filled out

front matter
type: gallery
gallery-id: gallery

post content

{% include gallery.html %}

Categories: image

Tags: gallery image