Knot: generally speaking working

This commit is contained in:
Nico Schottelius 2021-07-18 10:38:34 +02:00
parent 48fa4991e1
commit fa632aac17

View file

@ -87,7 +87,7 @@ data:
- target: stdout - target: stdout
zone: zone:
{{ range $path, $_ := .Files.Glob "zones/*" }} {{- range $path, $_ := .Files.Glob "zones/*" }}
{{- $domain := base $path }} {{- $domain := base $path }}
{{ printf "- domain: %s" $domain | indent 2}} {{ printf "- domain: %s" $domain | indent 2}}
{{ printf "file: /zones/%s" $domain | indent 4}} {{ printf "file: /zones/%s" $domain | indent 4}}