From c97fdaedeacd2b7e32d7f40001148f3283a5915e Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Mon, 18 Oct 2021 18:54:08 -0500 Subject: [PATCH] Add summary at the top --- main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index fbbcfea..d3289f9 100644 --- a/main.go +++ b/main.go @@ -98,8 +98,14 @@ func generateHTML(sites []HatsSite, w io.Writer) error {

{n}hats.com domains

+

Summary

+
    + {{range .}} +
  1. {{.DomainName}} – Registered since TODO
  2. + {{end}} +
{{range .}} -

{{.DomainName}}

+

{{.DomainName}}

Fetched
{{.FetchTime.Format "Mon Jan 2 15:04:05 -0700 MST 2006" }}