home | blog | art | now | git gpg | email | rss

guestbook

Code for a website guestbook. Written in Go.
git clone git://pollux.codes/git/guestbook.git
Log | Files | Refs | README | LICENSE

guestbook.html (368B)


      1 <html lang="en">
      2 	<head>
      3 	</head>
      4 	<body>
      5 		<main>
      6 {{ range . }}
      7 <b>{{ .Name }}</b> on {{ .Time.Format "2006-01-02T15:04:05Z" }}<br>
      8 {{ if .Email }}<a href="mailto:{{ .Email }}">{{ .Email }}</a>{{ if .Website }},{{ end }}{{ end }}
      9 {{ if .Website }}<a href="{{ .Website }}">{{ .Website }}</a><br>{{ end }}
     10 <p>{{ .Message }}</p><br>
     11 {{ end }}
     12 		</main>
     13 	</body>
     14 </html>