12345678910 |
- {{ define "contacts" }}
- {{ if .state }}<p>Results in {{ .state }}</p>{{ end }}
- <ul>{{ range $name, $mail := .contacts }}
- <li><a href="mailto:{{$mail}}">{{ $name }}</a></li>
- {{- else -}}
- <li><em>No results found</em></li>
- {{ end }}
- </ul>
- {{ if .counter }}<p>Counter: {{ .counter }}</p>{{ end }}
- {{ end }}
|