If you are taking paid maternity leave in a continuous block, and a public holiday falls during this period, you are entitled to public holiday pay.
If you are taking unpaid maternity leave in a continuous block, you will not receive public holiday pay during this entire period.