diff --git a/README.md b/README.md index cfe82f03..b4b722fe 100644 --- a/README.md +++ b/README.md @@ -472,7 +472,7 @@ Parameters:
address
-
Required. String. The e-mail address.
+
Required. Position 0. String. The e-mail address.
### Figure diff --git a/layouts/shortcodes/paige/email.html b/layouts/shortcodes/paige/email.html index f309f361..defa6dfd 100644 --- a/layouts/shortcodes/paige/email.html +++ b/layouts/shortcodes/paige/email.html @@ -1,4 +1,4 @@ -{{ $address := .Get "address" }} +{{ $address := .Get 0 | default (.Get "address") }} {{ $content := .Inner | markdownify }} {{ if not $address }}