To get https working, the paths need to be absolute in relation to the called domain. For that, I had to set the base URL empty and make every path begin with a slash.
This adds a makefile to build and install the files. This can be used for an easier deployment on the page.