mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +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"}}
|
{{$dir := .Get "dir"}}
|
||||||
{{ $url := .Get "baseurl" }}
|
{{ $url := .Get "baseurl" }}
|
||||||
|
|
||||||
{{ $files := ReadDir $dir }}
|
{{ $files := readDir $dir }}
|
||||||
{{ range $files }}
|
{{ range $files }}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{.Size}}</td>
|
<td>{{.Size}}</td>
|
||||||
|
|||||||
Reference in new issue
Block a user