Add curid class to namespace nodes with headpage link