From b36aaeaac878b6a3d8351d4a941af5cc93341dd3 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 10 Sep 2020 22:54:37 +0200 Subject: Added file upload --- root.template | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'root.template') diff --git a/root.template b/root.template index e4f5104..74fbc0c 100644 --- a/root.template +++ b/root.template @@ -116,11 +116,16 @@ Ref Navn + Files {{ range .Notes }} #{{ .Hash }}/{{ .Location }} {{ .Name }} + {{ $files := index $.Files .Hash }} + {{ range $i, $f := $files }} + [{{ $i }}] + {{ end }} {{ end }} -- cgit v1.2.3