Hero carrousel in gallery.py instead of site.yaml + removed deleted img for gallery.py

This commit is contained in:
2025-08-09 23:25:23 +00:00
parent f069ee1065
commit bf71ac6dde
21 changed files with 107 additions and 75 deletions

View File

@ -1,30 +1,36 @@
# Source your photos here
# Relative path is set from built img folder
# You can also use gallery.py to automatically add photos stored in your /config/photos/gallery folder
# Use gallery.py to automatically add photos stored in your /config/photos/gallery folder
# Add tags to your photos as shown below
# remove the # before [] if you removed all images to use gallery.py
images: #[]
- src: gallery/almos-bechtold-3402kvtHhOo-unsplash.jpg
tags: ["portrait"]
- src: gallery/arthur-savary-nLfAqmZ2hJo-unsplash.jpg
tags: ["portrait", "sunset", "boat"]
- src: gallery/francesco-ungaro-Zbc9Ka8msdI-unsplash.jpg
tags: ["landscape", "sea", "beach", "sand"]
- src: gallery/gilley-aguilar-ywGDhTlf93E-unsplash.jpg
tags: ["landscape", "sky", "cloud", "mountains"]
- src: gallery/jacob-reinikainen-nGG6m3RbjSk-unsplash.jpg
tags: ["lanscape", "sunset", "mountains"]
- src: gallery/jonas-degener-LueP5EdWGFY-unsplash.jpg
tags: ["landscape", "mountains", "fog"]
- src: gallery/michiel-annaert-M27pZnHV6M0-unsplash.jpg
tags: ["flowers", "nature"]
- src: gallery/nir-himi-AjecvkfSHxA-unsplash.jpg
tags: ["landscape", "mountains", "sky"]
- src: gallery/rachel-mcdermott-0fN7Fxv1eWA-unsplash.jpg
tags: ["portrait", "black and white"]
- src: gallery/tianlei-wu-g5o6T-PWT3g-unsplash.jpg
tags: ["cat", "animals"]
- src: gallery/we-care-wild-zLweeVLU9Fo-unsplash.jpg
tags: ["bison", "animals"]
- src: gallery/y-s-z90w7yStOkk-unsplash.jpg
tags: ["frog", "green", "animals"]
# remove the # before [] if you removed all images to use gallery.py again
hero:
images: #[]
- src: hero/francesco-ungaro-Zbc9Ka8msdI-unsplash.jpg
- src: hero/gilley-aguilar-ywGDhTlf93E-unsplash.jpg
- src: hero/jacob-reinikainen-nGG6m3RbjSk-unsplash.jpg
gallery:
images: #[]
- src: gallery/almos-bechtold-3402kvtHhOo-unsplash.jpg
tags: [portrait]
- src: gallery/arthur-savary-nLfAqmZ2hJo-unsplash.jpg
tags: [portrait, sunset, boat]
- src: gallery/francesco-ungaro-Zbc9Ka8msdI-unsplash.jpg
tags: [landscape, sea, beach, sand]
- src: gallery/gilley-aguilar-ywGDhTlf93E-unsplash.jpg
tags: [landscape, sky, cloud, mountains]
- src: gallery/jacob-reinikainen-nGG6m3RbjSk-unsplash.jpg
tags: [lanscape, sunset, mountains]
- src: gallery/jonas-degener-LueP5EdWGFY-unsplash.jpg
tags: [landscape, mountains, fog]
- src: gallery/michiel-annaert-M27pZnHV6M0-unsplash.jpg
tags: [flowers, nature]
- src: gallery/nir-himi-AjecvkfSHxA-unsplash.jpg
tags: [landscape, mountains, sky]
- src: gallery/rachel-mcdermott-0fN7Fxv1eWA-unsplash.jpg
tags: [portrait, black and white]
- src: gallery/tianlei-wu-g5o6T-PWT3g-unsplash.jpg
tags: [cat, animals]
- src: gallery/we-care-wild-zLweeVLU9Fo-unsplash.jpg
tags: [bison, animals]
- src: gallery/y-s-z90w7yStOkk-unsplash.jpg
tags: [frog, green, animals]

View File

@ -27,16 +27,6 @@ menu:
- label: Animals
href: /?tag=animals
hero:
# Source your hero carrousel images here.
# Root folder is img.
# You can also use gallery.py to automatically add images from config/photos/hero folder
# remove the # before [] if you removed all images to use gallery.py
images: #[]
- src: hero/francesco-ungaro-Zbc9Ka8msdI-unsplash.jpg
- src: hero/gilley-aguilar-ywGDhTlf93E-unsplash.jpg
- src: hero/jacob-reinikainen-nGG6m3RbjSk-unsplash.jpg
footer:
copyright: Copyright © 2025 Lumeex
legal_link: '/legals/'