Multilingual page resources get published although publishResources is false

Hugo 0.150.0

I have a multilingual site (de/en) with de as default language. In hugo,toml, publishResources is set to false. However, all jpeg page resources get published to the de pages. I do not (to my knowledge) run RelPermalink, Permalink or Publish on any of these JPEGs – they are converted to WebPs, which are published as intended language-independently.

Is publishing the jpegs to the default language page intended behavior in this case?

To clarify, that’s not a top-level configuration option. It is one of the build options, set at the page level, or cascaded down from an ancestor or from the site config.

This seems to be similar to a previous topic:
https://discourse.gohugo.io/t/preventing-image-page-resources-from-being-published/55883

Indeed. I’m getting old.

Anyway: I have

cascade:
- build:
    publishResources: false

in my content/blog/_index.md and in the corresponding _index.en.md (apparently I followed your earlier advice). So, I’d expect the page resources to not be published. But they are.

Well, something is different here, but since I do not need the jpegs anyway, I can always remove them in the build script.

Yes, because this works great.

git clone --single-branch -b hugo-forum-topic-56698 https://github.com/jmooring/hugo-testing hugo-forum-topic-56698
cd hugo-forum-topic-56698
rm -rf public && hugo && tree public