process Template
Processes a report template. The content must consist of a front-matter section and a Markdown document.
Performs
AST splitting (sections separated with ---)
rendering of the sections (md -> HTML)
naming tof the sections (special field 'sections')
collects the key-val pairs in front-matter as variables