|
|
@ -219,4 +219,21 @@ Add options:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
{% page.teaser.src | resize({ 'width': '300' }, { sigma: 2 }) %}
|
|
|
|
{% page.teaser.src | resize({ 'width': '300' }, { sigma: 2 }) %}
|
|
|
|
|
|
|
|
``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Results from PageQuery can also be created as json-File. The can use with a
|
|
|
|
|
|
|
|
simple API [https://gitea.node001.net/HerrHase/siteomat-api](https://gitea.node001.net/HerrHase/siteomat-api). Create a
|
|
|
|
|
|
|
|
File "json.yml" and add options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic Usage:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
posts:
|
|
|
|
|
|
|
|
orderBy:
|
|
|
|
|
|
|
|
- '-date_published'
|
|
|
|
|
|
|
|
filter:
|
|
|
|
|
|
|
|
view:
|
|
|
|
|
|
|
|
_eq: 'post.njk'
|
|
|
|
```
|
|
|
|
```
|
|
|
|