decaporg / decaporg/decap-cms

Feature: edit data files with a list/array at root level

Open
#531 26 comments 41 reactions 0 assignees View on GitHub
area: configuration area: formats kind: feature pinned status: accepted status: needs design
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**- Do you want to request a *feature* or report a *bug*?**

Feature

**- What is the current behavior?**

it seems to be impossible to create data files with a list at root level:

```yaml
- nav_object_1
- nav_object_2
```

The current work-around is to use

```yaml
navigation:
- nav_object_1
- nav_object_2
```

However, this may require a change of the template that may be part of libraries (jekyll theme gems).

**- What is the expected behavior?**

I can just create lists also on root level.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.