10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 19:27:42 +02:00
QUESTDB_website/layouts/shortcodes/getDataFilesName.html

10 lines
177 B
HTML
Raw Normal View History

<script>
{{- $files := readDir "/static/data" -}}
function getDataFilesName(){
var files=[]
{{- range $files }}
files.push({{ .Name }})
{{- end }}
return files
}
</script>