You can give part of your salary before tax if you donate straight from your wages or pension. This happens before tax is deducted from your income.
Ask your employer or pension provider if they run a Payroll Giving scheme.