HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.38k stars 2.91k forks source link

Image gallery shortcode: add support for images in page bundle #780

Closed ccamara closed 6 years ago

ccamara commented 6 years ago

First of all, congratulations for your great work and for the quality of this theme.

I am writing because as I am reading from release notes of v.3 content should be placed in page bundles. If I am not wrong, from what I've read at hugo's documentation page bundles are aimed to place all the content related to a certain content together. This includes the content itself (index.md), featured image in academic theme (featured.png/jpg) but also any asset of files or images and translated content. Sounds quite a sensible approach.

Unfortunately, image galleries don't seem to work with files located in page bundles, as only images located in static/img or external urls seem to be accepted (see documentation).

As current implementation is not very consistent (some files need to be placed in the page bundle whereas others should be placed elsewhere), would it be possible to fix that or remove the need to arrange content in page bundles?

gcushen commented 6 years ago

See #708 - adding support for gallery images in page bundles is already on the roadmap. Happy to review any contributions for this.

ccamara commented 6 years ago

Thank you! Just one question: the issue seems to be closed 20 days ago but from your call for contributors seems to mean that it is not yet fixed.