Fixed index bugs about .md extensions.