aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/methods/shortcode/Ordinal.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/shortcode/Ordinal.md')
-rw-r--r--docs/content/en/methods/shortcode/Ordinal.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/methods/shortcode/Ordinal.md b/docs/content/en/methods/shortcode/Ordinal.md
index 954940258..6f3580d0f 100644
--- a/docs/content/en/methods/shortcode/Ordinal.md
+++ b/docs/content/en/methods/shortcode/Ordinal.md
@@ -32,7 +32,7 @@ This shortcode performs error checking, then renders an HTML `img` element with
{{ errorf "The %q shortcode was unable to find %s. See %s" $.Name $src $.Position }}
{{ end }}
{{ else }}
- {{ errorf "The %q shortcode requires a 'src' parameter. See %s" .Name .Position }}
+ {{ errorf "The %q shortcode requires a 'src' argument. See %s" .Name .Position }}
{{ end }}
{{< /code >}}
@@ -46,5 +46,5 @@ Hugo renders the page to:
{{% note %}}
In the shortcode template above, the [`with`] statement is used to create conditional blocks. Remember that the `with` statement binds context (the dot) to its expression. Inside of a `with` block, preface shortcode method calls with a `$` to access the top level context passed into the template.
-[`with`]: /functions/go-template/with
+[`with`]: /functions/go-template/with/
{{% /note %}}