Replace usage of map when rendering site layout, header and footer