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
The blox-tailwind module (0.3.1) appears to define a gallery shortcode in layouts/partials/functions/parse_block_v2.html. Using https://github.com/HugoBlox/theme-academic-cv.git (2da2659) as a starting point, I tried to add a page with a gallery by creating a new folder named content/art containing a subfolder named art containing an image named image.jpg and a file named content/art/_index.md containing
---
title: "Art"
gallery_item"
- album: art
image: image.jpg
caption: An Image
---
{{< gallery match="art/*" >}}
When I try to build the site with hugo (v0.141.0 extended+withdeploy on MacOS), however, it complains that 'template for shortcode "gallery" not found.' I verified that a copy of the blox-tailwind module was downloaded to /Users/lebedov/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/[email protected] on my Mac. I can't seem to find any examples of using the gallery shortcode with blox-tailwind on the hugo-blox documentation site; are galleries only supported with bootstrap as of the present?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The blox-tailwind module (0.3.1) appears to define a gallery shortcode in
layouts/partials/functions/parse_block_v2.html
. Using https://github.com/HugoBlox/theme-academic-cv.git (2da2659) as a starting point, I tried to add a page with a gallery by creating a new folder namedcontent/art
containing a subfolder namedart
containing an image namedimage.jpg
and a file namedcontent/art/_index.md
containingWhen I try to build the site with hugo (v0.141.0 extended+withdeploy on MacOS), however, it complains that 'template for shortcode "gallery" not found.' I verified that a copy of the blox-tailwind module was downloaded to
/Users/lebedov/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/[email protected]
on my Mac. I can't seem to find any examples of using the gallery shortcode with blox-tailwind on the hugo-blox documentation site; are galleries only supported with bootstrap as of the present?Beta Was this translation helpful? Give feedback.
All reactions