Use hugo's built-in absURL function to produce correctly formatted absolute URLs instead of manually concatenating separators.
This is mostly an aesthetic change as browsers correctly understood the malformed URLs for the most part. Before, the template would produce URLs such as:
(note the double slash after the port number).
It seems as though hugo's
(note the single slash after the port number).