Move design from gallery module to templates