mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
all: Fix typos
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{- with .Get 0 -}}
|
||||
{{- template "render-instagram" (dict "id" . "pc" $pc) -}}
|
||||
{{- else -}}
|
||||
{{- errorf "The %q shortocde requires a single positional parameter, the ID of the Instagram post. See %s" .Name .Position -}}
|
||||
{{- errorf "The %q shortcode requires a single positional parameter, the ID of the Instagram post. See %s" .Name .Position -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
@@ -6,14 +6,14 @@
|
||||
{{- $ctx = merge $ctx (dict "id" . "class" ($.Get "class")) -}}
|
||||
{{- template "render-vimeo" $ctx -}}
|
||||
{{- else -}}
|
||||
{{- errorf "The %q shortocde requires a single named parameter, the ID of the Vimeo video. See %s" .Name .Position -}}
|
||||
{{- errorf "The %q shortcode requires a single named parameter, the ID of the Vimeo video. See %s" .Name .Position -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- with .Get 0 -}}
|
||||
{{- $ctx = merge $ctx (dict "id" . "class" ($.Get 1)) -}}
|
||||
{{- template "render-vimeo" $ctx -}}
|
||||
{{- else -}}
|
||||
{{- errorf "The %q shortocde requires a single positional parameter, the ID of the Vimeo video. See %s" .Name .Position -}}
|
||||
{{- errorf "The %q shortcode requires a single positional parameter, the ID of the Vimeo video. See %s" .Name .Position -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user