Made the general markdown template a bit more complete and factored it
out into a template.md file (removed the old HTML template).