mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 11:54:34 -04:00
Also rename readDir in docs shortcode
This commit is contained in:
parent
261d3d3ecd
commit
7e4f8240a4
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user