The legalisation of gay marriage was one of the flagship actions of outgoing President Francois Hollande’s five years in office, a move that was popular with many people in France but controversial with a large socially conservative section of society.