Generate HTML for template engines

If the HTML path is empty or does not exist, the list of elements are added to it on their own.

This creates an includeable file for use with templating engines.