Update templates and add a helper script to download and build the version of Gitea that is specified in the configuration file.