Fixed syntax error in contents page generation