lightbox
class), and you can customize its appearance with a number of modifiers, as well as assign it an optional onload
or onscroll
transition modifier (details).
+pictures:
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/01.jpg"
+ thumb: "images/gallery/thumbs/01.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/02.jpg"
+ thumb: "images/gallery/thumbs/02.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/03.jpg"
+ thumb: "images/gallery/thumbs/03.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/04.jpg"
+ thumb: "images/gallery/thumbs/04.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/05.jpg"
+ thumb: "images/gallery/thumbs/05.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/06.jpg"
+ thumb: "images/gallery/thumbs/06.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/07.jpg"
+ thumb: "images/gallery/thumbs/07.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/08.jpg"
+ thumb: "images/gallery/thumbs/08.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/09.jpg"
+ thumb: "images/gallery/thumbs/09.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/10.jpg"
+ thumb: "images/gallery/thumbs/10.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/11.jpg"
+ thumb: "images/gallery/thumbs/11.jpg"
+ button: "Details"
+
+ - title: "Title"
+ content: "Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices."
+ image: "images/gallery/fulls/12.jpg"
+ thumb: "images/gallery/thumbs/12.jpg"
+ button: "Details"
+
diff --git a/layouts/index.html b/layouts/index.html
index bb99203..fd1edbf 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -19,7 +19,7 @@
{{ partial "spotlight" site.Data.spotlight1 }}
{{ partial "spotlight" site.Data.spotlight2 }}
{{ partial "spotlight" site.Data.spotlight3 }}
- {{ partial "gallery" . }}
+ {{ partial "gallery" site.Data.gallery }}
{{ partial "items" site.Data.items }}
{{ partial "elements" . }}
{{ partial "elements_reference" . }}
diff --git a/layouts/partials/gallery.html b/layouts/partials/gallery.html
index 59933d7..11e72c9 100644
--- a/layouts/partials/gallery.html
+++ b/layouts/partials/gallery.html
@@ -1,156 +1,14 @@
-
- This is a Gallery element. It can behave as a lightbox (when given the lightbox
class), and you can customize its appearance with a number of modifiers, as well as assign it an optional onload
or onscroll
transition modifier (details).
{{ .content | safeHTML }}
+