all: Fix typos

This commit is contained in:
Christian Oliff
2025-04-24 17:19:17 +09:00
committed by GitHub
parent 1bd7ac7ed9
commit 6a0e04241a
6 changed files with 7 additions and 7 deletions

View File

@@ -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 -}}

View File

@@ -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 -}}