Generate indexed single-page document with markdown and template.