{{ $_hugo_config := `{ "version": 1 }` -}}

Téléchargement

{{- $filesName := "files" }} {{- if ne .Page.File.BaseFileName "index" }} {{- $filesName = printf "%s.files" .Page.File.BaseFileName }} {{- end}} {{- $fileDir := replace .Page.File.Dir "\\" "/" }} {{- $pattern := .Get "pattern" | default "" }} {{- range (readDir (printf "content/%s%s" .Page.File.Dir $filesName) ) }}
  • {{.Name}}
  • {{- end}}
    {{- .Inner}}