update readme

develop
HerrHase 2 years ago
parent 0e263549c4
commit 4bd1f74e2c

@ -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'
``` ```

Loading…
Cancel
Save