Website: Move website generation into a function.
Website: Move website generation into a function.

TheNameIsNigel/cm-update-server,xdarklight/cm-update-server,xdarklight/cm-update-server,TheNameIsNigel/cm-update-server