You can pass it with tpl.ExecuteTemplate(ctx, "index.html", pd) but browser is going to show this as plain text, you have to specify it is html by using ctx.Response.Header.Set("Content-Type", "text/html; charset=utf-8")
tpl.ExecuteTemplate(ctx, "index.html", pd)
ctx.Response.Header.Set("Content-Type", "text/html; charset=utf-8")