server/publish.go: use go html template for publishing

Change-Id: Ic1c55d35e52e407864d339927b453de58a64e03c