From: Bjørn Erik Pedersen Date: Fri, 7 Aug 2015 12:55:53 +0000 (+0200) Subject: Also rename readDir in docs shortcode X-Git-Tag: v0.15~233 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2805a6f80e1e68d2d3df4ba7f63e7455c3802899;p=brevno-suite%2Fhugo Also rename readDir in docs shortcode --- diff --git a/docs/layouts/shortcodes/fileindex.html b/docs/layouts/shortcodes/fileindex.html index 56542cee..26b903f6 100644 --- a/docs/layouts/shortcodes/fileindex.html +++ b/docs/layouts/shortcodes/fileindex.html @@ -4,7 +4,7 @@ {{$dir := .Get "dir"}} {{ $url := .Get "baseurl" }} -{{ $files := ReadDir $dir }} +{{ $files := readDir $dir }} {{ range $files }} {{.Size}}