Refactor to avoid excess spaces and newlines in output.
This commit is contained in:
@@ -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