reference-task: remove needless local variables
reference-task: extract method for creating a published HTML file
test: fix copyright year