Also rename readDir in docs shortcode
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Aug 2015 12:55:53 +0000 (14:55 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Aug 2015 12:55:53 +0000 (14:55 +0200)
docs/layouts/shortcodes/fileindex.html

index 56542ceeb804851764bcf2f4c98ff8bf6d79c5f1..26b903f6ad3fb0ea92b428b7339e3462ef05f0da 100644 (file)
@@ -4,7 +4,7 @@
 {{$dir := .Get "dir"}}
 {{ $url := .Get "baseurl" }}
 
-{{ $files := ReadDir $dir }}
+{{ $files := readDir $dir }}
     {{ range $files }}
                        <tr>
                 <td>{{.Size}}</td>