Refactor to avoid excess spaces and newlines in output.
This commit is contained in:
1 parent
0471787ed5
commit
500eee955d
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
||||
{{ $src := .Get "src" | default (.Get 0)
|
||||
}} {{ $type := .Get "type"
|
||||
}}
|
||||
{{ $type := .Get "type"
|
||||
}}{{ if and (isset .Params "type") (not (eq $type ""))
|
||||
}}{{ .Scratch.Set "type" $type
|
||||
}}{{ else
|
||||
|
||||
Reference in new issue
Block a user