From 9014a7f799373f7760436a4405591c21f3a4f709 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 15 Nov 2016 00:16:25 -0500 Subject: only programmers know what .. means, say parent directory --- got/view_tree.got | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/got/view_tree.got b/got/view_tree.got index 6cf1cf7..09f564b 100644 --- a/got/view_tree.got +++ b/got/view_tree.got @@ -1,11 +1,13 @@

Index of {{.path | html}}

+ {{if ne .path "/"}} - + + {{end}} {{range $name, $file := .files}} -- cgit v1.2.3-54-g00ecf
..parent directory tree -
{{$name | html}}