Skip directories in pages dir.