diff options
Diffstat (limited to 'layouts/partials/funcs/get_and_concat.html')
-rw-r--r-- | layouts/partials/funcs/get_and_concat.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/layouts/partials/funcs/get_and_concat.html b/layouts/partials/funcs/get_and_concat.html deleted file mode 100644 index 5dfacb5..0000000 --- a/layouts/partials/funcs/get_and_concat.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ if not .target }}{{ errorf "Missing target"}}{{ end }} -{{ if not .imports }}{{ errorf "Missing imports"}}{{ end }} -{{ $resources := slice }} -{{ range .imports }} -{{ $resource := resources.Get . }} -{{ if $resource }} -{{ $resources = $resources | append $resource }} -{{ end }} -{{ end }} -{{ return ($resources | resources.Concat .target) }}
\ No newline at end of file |