Add workaround for 39hats.com
For some reason, 39hats.com returns a nil registrant. Ideally, I'd like to figure out _why_ there's not something returned, but in the meantime we can just check if it's empty and skip it.
This commit is contained in:
parent
c1cf6ee3a7
commit
c57cc6ad12
|
@ -56,7 +56,11 @@
|
||||||
<dd>{{.FetchTime.Format "Jan 2, 2006 15:04:05 -0700" }}</dd>
|
<dd>{{.FetchTime.Format "Jan 2, 2006 15:04:05 -0700" }}</dd>
|
||||||
{{if not .Available}}
|
{{if not .Available}}
|
||||||
<dt>Owner</dt>
|
<dt>Owner</dt>
|
||||||
|
{{if .Registrant}}
|
||||||
<dd><a href="mailto:{{.Registrant.Email}}">{{.Registrant.Name}} <{{.Registrant.Email}}></a></dd>
|
<dd><a href="mailto:{{.Registrant.Email}}">{{.Registrant.Name}} <{{.Registrant.Email}}></a></dd>
|
||||||
|
{{else}}
|
||||||
|
<dd>Information unavailable</dd>
|
||||||
|
{{end}}
|
||||||
<dt>Since</dt>
|
<dt>Since</dt>
|
||||||
<dd>{{(parseTime .DomainInfo.CreatedDate).Format "Jan 2, 2006" }}</dd>
|
<dd>{{(parseTime .DomainInfo.CreatedDate).Format "Jan 2, 2006" }}</dd>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue