technical update on dual-weilding websites - Fri, Nov 5, 2021
further context and some things left out of the previous post
So the use of goroutines and a boolean channel was not all that was needed to properly have two separate sites.
I neglected to change the handlers to use the differentiated hugo sources, and still needed to pass from the route / server to the handle some information about which port the request was originating from. So then, the same handle can be used, but in the handle itself, the sources which are used needed to be switched based on the port that was passed..
this also entailed use of a wrapper struct.
I've changed the front page, now to change the rest of the routes and handlers