1 <section>
2 <h1>Hosts</h1>
3 {{if len .}}
4 <table class="results">
5 <tr><th>Host</th><th>Last update</th></tr>
6 {{range .}}
7 <tr><td><a href="{{root}}host/{{urlquery .Name}}">{{.Name}}</a></td><td>{{.LastUpdate}}</td></tr>
8 {{end}}
9 </table>
10 {{else}}
11 <p>No results found.</p>
12 {{end}}
13 <p> </p>
14 </section>