Add date to html output.

This commit is contained in:
Hendrik van Wyk
2017-09-14 21:33:23 +02:00
parent 53eda718d7
commit 38094da9de
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ var htmlTemplate string = `<html>
<body>
{{if .Error}} <p>Error encountered: {{.Error}} </p> {{end}}
<dl>
<dt> Date: {{.Date}}</dt>
</dl>
<dl>
<dt> LEDs:</dt>
{{range .Leds}}