From 2805a6f80e1e68d2d3df4ba7f63e7455c3802899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 7 Aug 2015 14:55:53 +0200 Subject: [PATCH] Also rename readDir in docs shortcode --- docs/layouts/shortcodes/fileindex.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layouts/shortcodes/fileindex.html b/docs/layouts/shortcodes/fileindex.html index 56542ceeb..26b903f6a 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}}