Fix posts index syntax error