I'm trying to override the output of the Sample Content particle, basically adding a URL and itemprop="image" to the image. However, I can't find the relevant twig file. Where can I find the twig of sample content? And in the event that the twig does not allow me to modify the <img> output, where can I modify/override this?
Ok I found the twig file. Apparently, only Hydrogen has this particle type, so it's located in /templates/g5_hydrogen/particles/sample.html.twig
The problem is, modifying this file doesn't seem to change anything (I'm thinking it's a cache issue, but I've cleared both browser and server cache). I tried adding an override in /templates/g5_hydrogen/engine/particles/sample.html.twig but that didn't work as well.
To anybody else who may have the same problem, the custom override path for template-specific particles is in /templates/<TEMPLATE>/custom/particles, instead of /templates/<TEMPLATE>/custom/engine/particles