HTML Report : How to customize it

Hello

I am looking for way to customize HTML report, mainly to insert some info like testEnv etc which we have in global variable
Is there a way now ? can we keep a template for the reporting etc

Please find the attached pic for some more info

Thanks