add front matter to index