How do you even know? Don't those both just generate static html?
Footer. also Jekyll/Hugo sites use generator so you can mostly find it in the meta generator tag.
Next.js sites are also a super easy find like this.
You can trivially remove it e.g. `disableHugoGeneratorInject = true` in `config.toml`.