🐛 fixed typos in list shortcode docs

This commit is contained in:
Nuno Coração 2023-01-24 22:18:25 +00:00
parent 656a66efad
commit 801353d803

View file

@ -104,7 +104,7 @@ Call to action
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
| Parameter | Description | | Parameter | Description |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- | | ------------- | ----------------------------------------------------------------------------------------------------------------- |
| `images` | **Required.** A regex string to match image names. | | `images` | **Required.** A regex string to match image names. |
| `aspectRatio` | **Optional.** The aspect ratio for the carousel. Either `16-9`, `21-9` or `32-9`. It is set to `16-9` by default. | | `aspectRatio` | **Optional.** The aspect ratio for the carousel. Either `16-9`, `21-9` or `32-9`. It is set to `16-9` by default. |
<!-- prettier-ignore-end --> <!-- prettier-ignore-end -->
@ -326,10 +326,14 @@ When life gives you lemons, make lemonade.
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
| Parameter | Description | | Parameter | Description |
| --------- | ------------------------------------------------------- | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `limit` | **Required.** the number of recent articles to display. | | `limit` | **Required.** the number of recent articles to display. |
| `where` | the number of recent articles to display. | | `where` | The variable to be used for the query of articles e.g. `Type` |
| `value` | the number of recent articles to display. | | `value` | The value that will need to match the parameter defined in `where` for the query of articles e.g. for `where` == `Type` a valid vaue could be `sample` |
{{< alert >}}
The `where` and `value` values are used in the following query `where .Site.RegularPages $where $value` in the code of the shortcode
{{</ alert >}}
<!-- prettier-ignore-end --> <!-- prettier-ignore-end -->