REmove comment
No need to check whether the file is a page to run add_to_template, as cloning the it object guarantees that partials will not have a template, if it's not defined explicitly
Correct md function naming (to HTML, not to md)