mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-20 04:53:08 +00:00
Also rename readDir in docs shortcode
This commit is contained in:
parent
cea82842f0
commit
2805a6f80e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue