mfg92 / hugo-shortcode-gallery

A theme component with a gallery shortcode for the static site generator hugo.
MIT License
354 stars 66 forks source link

Nothing appear while using at a blog post or the like #38

Closed t0rsten closed 2 years ago

t0rsten commented 2 years ago

Hi, awesome short code. It works while using at a regular page, but while using at a blog post or the like nothing appears any idea?

works: https://github.com/t0rsten/gallerytest/tree/main/content/about

doesn't https://github.com/t0rsten/gallerytest/tree/main/content/gallery

mfg92 commented 2 years ago

Can you try to have your content organized like this:

content

content/
├─ gallery1/
│  ├─ images/
│  ├─ index.md
├─ gallery2/
│  ├─ images/
│  ├─ index.md
├─ post_without_gallery.md
├─  ...
t0rsten commented 2 years ago

When you can't see the forest for the trees! Great, that works. Thank you very much!