Separate index file from layouts.