Issue #2 resolved

A directory cannot have the same name as file in the same directory.

Marijn van der Zee
repo owner created an issue

Solution would be to add an extension (.html) to the output files.

This would result in an error:

{{{ SubDir }}}

Because the output file SubDir is created, and the directory SubDir cannot be created.