mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
11 lines
240 B
HTML
11 lines
240 B
HTML
<script>
|
|
{{- $files := readDir "/static/data" }}
|
|
{{- $list := slice }}
|
|
function getDataFilesName(){
|
|
{{- range $files }}
|
|
{{- $list = $list | append .Name }}
|
|
{{- end }}
|
|
var files=JSON.parse({{ jsonify $list }})
|
|
return files
|
|
}
|
|
</script> |