1{{ define "index" }}
2{{ template "_head" }}
3<table role="grid">
4 <thead>
5 <tr>
6 <th scope="col">ID</th>
7 <th scope="col">Title</th>
8 <th scope="col">Output</th>
9 <th scope="col"></th>
10 </tr>
11 </thead>
12 <tbody>
13 {{ range . }}
14 <tr>
15 <td>{{ .ID }}</td>
16 <td>{{ .Link }}</td>
17 <td>{{ .OutputFolder }}</td>
18 <td>
19 <a href="entries/{{ .ID }}" >Edit</a>
20 </span>
21 <a href="#" onclick="deleteEntry({{ .ID }})">Delete</a>
22 </td>
23 </tr>
24 {{ end }}
25 </tbody>
26</table>
27<a href="/entries" role="button">Create</a>
28{{ template "_footer" }}
29{{ end }}