Website: Move website generation into a function.