Fix spelling in error message

This commit is contained in:
Bjørn Erik Pedersen 2018-01-02 14:20:03 +01:00
parent 84f7e09ff0
commit ddb7d8fae0
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F

View File

@ -8,7 +8,7 @@
{{ else if eq $command "Fill"}} {{ else if eq $command "Fill"}}
{{ .Scratch.Set "image" ($original.Fill $options) }} {{ .Scratch.Set "image" ($original.Fill $options) }}
{{ else }} {{ else }}
{{ errorf "Invalid image processing command: Must be one of fit, fill or resize."}} {{ errorf "Invalid image processing command: Must be one of Fit, Fill or Resize."}}
{{ end }} {{ end }}
{{ $image := .Scratch.Get "image" }} {{ $image := .Scratch.Get "image" }}
<figure style="width: {{ add $image.Width 3 }}px; padding: 3px; background-color: #cccc"> <figure style="width: {{ add $image.Width 3 }}px; padding: 3px; background-color: #cccc">