Contributions can continue to be paid into your pension pot.
The employer should pay the contributions based on your pay before you went on paternity leave, whilst you should pay contributions based on the pay that you’re actually receiving (for example Statutory Paternity Pay).
More…
For more information see www.pensionsadvisoryservice.org.uk/about-pensions/when-things-change/parental-leave.