Skip to content

Commit ad0b590

Browse files
committed
Merge branch 'master' into self-hosted
2 parents bc8fde1 + 74a6dd5 commit ad0b590

File tree

5 files changed

+33
-2
lines changed

5 files changed

+33
-2
lines changed

tags/expires.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ The **expires** tag is a *single* tag used to indicate when an article should no
2727

2828
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
2929

30+
`calendar="calendar string"`
31+
: Set the calendar (for example, `chinese`).
32+
: **Values:** any valid ICU calendar string.
33+
: **Default:** unset.
34+
3035
`format="format string"`
3136
: Override the default date format set in the Preferences panel.
3237
: **Values:** any valid [strftime](https://secure.php.net/strftime) string values.

tags/images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Tag will accept the following attributes (**case-sensitive**) as well as the {%
5959
: Filter the images by this list of category names as defined in the Categories panel.
6060

6161
`extension=".extension"`
62-
: Filter the images by this list of image extensions, including the leading dot. Example: `extension=".jpg, .png"`.
62+
: Filter the images by this list of image file extension(s), including the leading dot. Example: `extension=".avif, .jpg, .png, .webp"`.
6363
: **Default:** unset.
6464

6565
`form="form name"`
@@ -103,7 +103,7 @@ Tag will accept the following attributes (**case-sensitive**) as well as the {%
103103
`caption`. \\
104104
`category`. \\
105105
`date`. \\
106-
`extension` (image extension). \\
106+
`ext` (image file extension). \\
107107
`h` (image `height` attribute). \\
108108
`id` (image id#). \\
109109
`name` (image name). \\

tags/modified.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ The **modified** tag is a *single* tag which is used to return the modification
2727

2828
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
2929

30+
`calendar="calendar string"`
31+
: Set the calendar (for example, `chinese`).
32+
: **Values:** any valid ICU calendar string.
33+
: **Default:** unset.
34+
3035
`format="format string"`
3136
: Override the default date format set in the Preferences panel.
3237
: **Values:** any valid [strftime](https://secure.php.net/strftime) string values.

tags/posted.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ The **posted** tag is a *single* tag which is used to return the publication dat
2727

2828
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
2929

30+
`calendar="calendar string"`
31+
: Set the calendar (for example, `chinese`).
32+
: **Values:** any valid ICU calendar string.
33+
: **Default:** unset.
34+
3035
`format="format string"`
3136
: Override the default date format set in the Preferences panel.
3237
: **Values:** any valid [strftime](https://secure.php.net/strftime) string values, `since`, `iso8601` ([ISO 8601 reference](https://en.wikipedia.org/wiki/ISO_8601)), `w3cdtf` ([W3CDTF reference](https://www.w3.org/TR/NOTE-datetime)), or `rfc822` ([RFC 822 reference](https://www.w3.org/Protocols/rfc822/#z28)).

tags/tag-basics/parsing-tag-attributes.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,20 @@ Note that if a tag already _has_ an attribute with the same name as a global one
261261
: HTML `class` and `id` attributes of the wrapper tag.
262262
: **Values:** any valid string.
263263

264+
`break="tag or pattern"`
265+
: HTML tag or any other string used to join list items.
266+
: **Values:** HTML tag name or any valid string.
267+
268+
`breakby="string|regex"`
269+
: The pattern used to split the output.
270+
: **Values:** any valid string or regex.
271+
272+
`sort="nat|case asc|desc|rand"`
273+
: Used to reorder list items.
274+
: **Values:** a combination of type (`nat`, `case`) and direction (`asc`, `desc`).
275+
276+
`limit, offset`
277+
: Used to extract a sublist.
278+
: **Values:** any integer.
279+
264280
[Next: Incorrect tag contexts](/tags/tag-basics/incorrect-tag-contexts)

0 commit comments

Comments
 (0)