Bugix in serve (wrong variable name).
Split the write method.
More configurable writer (add template_file and output_file).
Add a setting to disable the writing of HTML files.