diff --git a/exampleSite/content/home/gallery/gallery/theme-1950s.png b/exampleSite/content/home/gallery/gallery/theme-1950s.png new file mode 100644 index 00000000..a81ab8d2 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-1950s.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-apogee.png b/exampleSite/content/home/gallery/gallery/theme-apogee.png new file mode 100644 index 00000000..635754c1 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-apogee.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-coffee-playfair.png b/exampleSite/content/home/gallery/gallery/theme-coffee-playfair.png new file mode 100644 index 00000000..938dd3a0 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-coffee-playfair.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-cupcake.png b/exampleSite/content/home/gallery/gallery/theme-cupcake.png new file mode 100644 index 00000000..deb94be5 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-cupcake.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-dark.png b/exampleSite/content/home/gallery/gallery/theme-dark.png new file mode 100644 index 00000000..a04ce143 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-dark.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-default.png b/exampleSite/content/home/gallery/gallery/theme-default.png new file mode 100644 index 00000000..71792b12 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-default.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-forest.png b/exampleSite/content/home/gallery/gallery/theme-forest.png new file mode 100644 index 00000000..df2d6ccc Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-forest.png differ diff --git a/exampleSite/content/home/gallery/gallery/theme-ocean.png b/exampleSite/content/home/gallery/gallery/theme-ocean.png new file mode 100644 index 00000000..6f4a0da5 Binary files /dev/null and b/exampleSite/content/home/gallery/gallery/theme-ocean.png differ diff --git a/exampleSite/content/home/gallery/index.md b/exampleSite/content/home/gallery/index.md new file mode 100644 index 00000000..4eb477c6 --- /dev/null +++ b/exampleSite/content/home/gallery/index.md @@ -0,0 +1,14 @@ ++++ +# Custom widget. +widget = "custom" # Do not modify this line! +active = true # Activate this widget? true/false + +# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`. +title = "Gallery" +subtitle = "" + +# Order that this section will appear in. +weight = 65 ++++ + +{{< gallery >}} diff --git a/layouts/partials/widgets/slider.html b/layouts/partials/widgets/slider.html index 49d0787b..03d92231 100644 --- a/layouts/partials/widgets/slider.html +++ b/layouts/partials/widgets/slider.html @@ -37,7 +37,7 @@ {{ if $item.cta_url }} {{ $pack := or .icon_pack "fa" }}

- + {{- with $item.cta_icon -}}{{- end -}} {{- $item.cta_label | emojify | safeHTML -}} diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html index f8bc02bf..43f321fc 100644 --- a/layouts/shortcodes/gallery.html +++ b/layouts/shortcodes/gallery.html @@ -1,9 +1,11 @@ {{ $album := "gallery" }} {{ with .Get "album" }}{{ $album = . }}{{ end }} +{{ $album_path := printf "%s/*" $album }} +{{/* if eq .Page.Type "home" */}}{{/* $album_path = "*" */}}{{/* end */}}

\ No newline at end of file