You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This needs Hugo >= 0.104.0.
Also add a few settings:
```toml
[params]
[params.gallerydeluxe]
# Shuffle the images in the gallery to give the impression of a new gallery each time.
shuffle = false
# Reverse the order of the images in the gallery.
reverse = true
```
A Hugo Module to show a photo gallery. It's very fast/effective, especially if you have lots of images on display.
4
5
5
-
See the annotated [index.html](exampleSite/layouts/index.html) for a brief explanation about how to set this up. Note that we currently only support 1 gallery per page. **Note** that the `exampleSite` is currently configured to load a [directory from bep's MacBook](https://github.com/bep/gallerydeluxe/blob/main/exampleSite/config.toml#L38). If you want to take this for a spin, modify that so it points to a directory with some JPEGs on your PC.
6
-
7
6
This theme is what you see on [staticbattery.com](https://staticbattery.com/) which, at the time of writing this, [scores 100](https://pagespeed.web.dev/report?url=https%3A%2F%2Fstaticbattery.com%2F&form_factor=mobile) at Google PageSpeed for both mobile and desktop.
# Shuffle the images in the gallery to give the impression of a new gallery each time.
16
+
shuffle = false
17
+
18
+
# Reverse the order of the images in the gallery.
19
+
reverse = true
20
+
```
21
+
22
+
Also See the annotated [index.html](exampleSite/layouts/index.html) for a brief explanation about how to set this up. Note that we currently only support 1 gallery per page. **Note** that the `exampleSite` is currently configured to load a [directory from bep's MacBook](https://github.com/bep/gallerydeluxe/blob/main/exampleSite/config.toml#L38). If you want to take this for a spin, modify that so it points to a directory with some JPEGs on your PC.
23
+
24
+
25
+
## Credits
26
+
11
27
Credit to Dan Schlosser for the [Pig](https://github.com/schlosser/pig.js) JS library.
0 commit comments