1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

update CHANGELOG.md

This commit is contained in:
Awilum
2020-12-19 16:18:35 +03:00
parent 97c42a8682
commit 98d10819dd

View File

@@ -7,7 +7,43 @@
Registry API provides method `get()` for retrieving data from registry and we should able to access them inside entries frontmatter header for retrieving data right in the entries.
Examples here: https://github.com/flextype/flextype/issues/494
**Basic Example**
Sample entry with several queries and with several nested queries inside of children entries.
File: `/project/entries/registry-root/entry.md`
```yaml
---
title: Root
registry:
get:
flextype:
key: flextype.manifest.name
author.name:
key: flextype.manifest.author.name
license:
key: flextype.manifest.license
entries:
fetch:
level1:
id: registry-root/level-1
---
```
**Setting for this fields**
File: `/project/config/flextype/settings.yaml`
```yaml
entries:
fields:
registry:
get:
enabled: true
```
Valid values for setting **enabled** is **true** or **false**
* **fields** add new field `entries.fetch` for Entries API ([#492](https://github.com/flextype/flextype/issues/492))