Unverified Commit 8a3df19e authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #5323 from malaiwah/patch-1

Fix for missing $root
parents d251b94e fdbbcab3
......@@ -129,6 +129,7 @@ You have multiple options with Globs:
Or
```yaml
{{ $root := . }}
{{ range $path, $bytes := .Files.Glob "foo/*" }}
{{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
{{ end }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment