I currently have a wordpress site serving ordinary static blog-type content. I am well on the way to recreating that with Hugo. I also have a weather reporting site backended with MySql, using go with http.HandleFunc to serve out quite complex svg pages in real time.
How should I go about combining the two? I want to show the dynamic content as a page of the hugo site.
Running the http.HandleFunc site on a non-standard port won’t work because some of the clients are behind firewalls that only allow port 80.
I am not after a fully worked out solution, just pointing in a direction to try.
I am getting away from Apache, as being too heavyweight. I can serve fastCGI very economically (in CPU terms) directly with go. This much is done and working well.
Ah, yes. So I could just use another handler to serve the hugo-generated static pages. I think that may have been the insight I was looking for. Thanks @bep