jekyll-strapi
jekyll-strapi copied to clipboard
Populate Media and Dynamiczones from Components
Is there a possibility to configure the populate option to fetch also media files inside a component? With the default *
option they are excluded and according to the docs there is more complex configuration of the populate var needed.
While browsing the code I saw the test env is using the Populate Deep strapi plugin solving this problem.
Is there any way configuring the jekyll-strapi plugin for fetching everything or is the Populate Deep
plugin the only soluation atm?
Hello @paulkitt - do you have somewhere Strapi site working (or config to replicate) so we could check locally? If I understand - regular media fetching / proxying is not enough?
Hey @bluszcz thanks for you fast reply. I just setup a strapi repo with database showing the issue.
- Querry the hole single type collection but no media is displayed
http http://localhost:1337/api/test-page/\?populate\=%2A
- Querry with explicit populate param for the content component
http http://localhost:1337/api/test-page/\?populate\[content\]\[populate\]\=%2A
- Querry with explicit populate param for the head component
http http://localhost:1337/api/test-page/\?populate\[head\]\[populate\]\=%2A
Hello, this plugin supports populate
deep parameter. I see that you created #33 - does it mean that it works for you now and can be closed and we ca investigate #33? :)