Render index using layouts and templates