Hi, I would like to know if it possible to get static sites generated by Hugo to work with both HTTPS and HTTP? The main problem is the
baseURL, as far as I remember, the menu items use it as a reference to link other pages... the problem is, if HTTP is used in
baseURL, the menu items will always point towards the HTTP URLs... even if a users accesses the page via HTTPS.
What I want is that the menu should use HTTPS link in the menu if the user used HTTPS to access the site... same for HTTP pages, HTTP links for HTTP pages
I know a possible workaround, generate the site 2 times using both HTTP and HTTPS version of the
baseURL, but it really isn't the answer to my question
Is there something else which could address this issue? Thanks in Advance!