
{{- $pathURL := .Get "pathURL" -}}
{{- $path := .Get "path" -}}
{{- $files := readDir $path -}}
<table>
    <th>Name</th>
{{- range $files }}
    <tr>
        <td><a href="{{ $pathURL }}{{ .Name }}" target="_blank"> {{ .Name }}</a></td>
    </tr>
{{- end }}
</table>
