adjust for index.md and so on