As I said above Go templates interpret strings enclosed in double quotes, hence the error for the extra single quote (meant as an apostrophe), despite the valid go/HTML comment.
This is how Go templates operate.
To use literal (uniinterpreted) strings one must enclose them in backticks.
We had this discussion before over here with @moorereason
cc: @jmooring