diff --git a/main.go b/main.go
index 17d8f5e..5e37e11 100644
--- a/main.go
+++ b/main.go
@@ -139,17 +139,21 @@ func generateHTML(sites []HatsSite, w io.Writer) error {
- Fetched
- {{.FetchTime.Format "Mon Jan 2 15:04:05 -0700 MST 2006" }}
- - Title
- - {{.Title}}
- Owner
- {{.Registrant.Name}} <{{.Registrant.Email}}>
- {{with .DomainInfo.CreatedDate}}
+ {{if not .Available}}
- Since
- - {{(parseTime .).Format "Mon Jan 2 2006" }}
+ - {{(parseTime .DomainInfo.CreatedDate).Format "Mon Jan 2 2006" }}
+ {{end}}
+ {{with .Title}}
+ - Title
+ - {{.}}
{{end}}
+ {{if .ScreenshotURL}}
{{end}}
+ {{end}}