summaryrefslogtreecommitdiff
path: root/root.template
diff options
context:
space:
mode:
Diffstat (limited to 'root.template')
-rw-r--r--root.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/root.template b/root.template
index e4f5104..74fbc0c 100644
--- a/root.template
+++ b/root.template
@@ -116,11 +116,16 @@
<tr>
<th>Ref</th>
<th>Navn</th>
+ <th>Files</th>
</tr>
{{ range .Notes }}
<tr>
<td style="font-family: monospace;">#{{ .Hash }}/{{ .Location }}</td>
<td>{{ .Name }}</td>
+ {{ $files := index $.Files .Hash }}
+ <td>{{ range $i, $f := $files }}
+ <a href="/data/{{$f}}">[{{ $i }}] </a>
+ {{ end }}</td>
</tr>
{{ end }}
</table>