CuO nanoparticles doping recovered the photocatalytic antialgal activity of graphitic carbon nitride.