shithub: hugo

Download patch

ref: 2805a6f80e1e68d2d3df4ba7f63e7455c3802899
parent: cea82842f0a8832b87afa2aaeae6b3843b4ef204
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Aug 7 10:55:53 EDT 2015

Also rename readDir in docs shortcode

--- 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 }}
 			<tr>
                 <td>{{.Size}}</td>