This commit is contained in:
Simon Gardling
2023-10-11 17:38:05 -04:00
commit 032679b34a
242 changed files with 9311 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
title: 'Recent Posts'
---
# Recent Posts
Render recent posts list
## Usage
```
{{</* recent-posts sortby="" limit="" */>}}
```
Paramters:
* `sortby`: `publishDate` or `lastMod`
* `limit`: positive integer, `0` means unlimited
## Examples
```html
{{</* recent-posts sortby="lastMod" limit=5 */>}}
```
{{< recent-posts sortby="lastMod" limit=5 >}}