{{ define "bodyclass" }}page-legal{{ end }} {{ define "main" }} {{ $files := slice (.Site.GetPage "/legal/responsible") (.Site.GetPage "/legal/disclaimer") (.Site.GetPage "/legal/privacy") (.Site.GetPage "/legal/licences") }} {{ $names := slice "responsible.md" "disclaimer.md" "privacy.md" "licences.md" }}

$ ls

total {{ len $files }}

- drwxr-xr-x..
{{ range $i, $p := $files }}{{ if $p }}
- -rw-r--r--{{ index $names $i }}
{{ end }}{{ end }}

{{ range $i, $p := $files }}{{ if $p }}
{{ $p.Content }}
{{ end }}{{ end }}
responsible.md
{{ end }}