mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
Also rename readDir in docs shortcode
This commit is contained in:
1 parent
cea82842f0
commit
2805a6f80e
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
{{$dir := .Get "dir"}}
|
||||
{{ $url := .Get "baseurl" }}
|
||||
|
||||
{{ $files := ReadDir $dir }}
|
||||
{{ $files := readDir $dir }}
|
||||
{{ range $files }}
|
||||
<tr>
|
||||
<td>{{.Size}}</td>
|
||||
|
||||
Reference in new issue
Block a user