From 849471d5e566bb4bb825e6356eda3f1644c1786b Mon Sep 17 00:00:00 2001 From: Filip Vukelic <136091729+filvuk@users.noreply.github.com> Date: Mon, 29 Apr 2024 01:04:32 +0200 Subject: [PATCH] Add first and last name fields to decap_cms_config.yaml --- modules/blox-plugin-decap-cms/data/decap_cms_config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/blox-plugin-decap-cms/data/decap_cms_config.yaml b/modules/blox-plugin-decap-cms/data/decap_cms_config.yaml index 0c48e9c48..fbb7af366 100644 --- a/modules/blox-plugin-decap-cms/data/decap_cms_config.yaml +++ b/modules/blox-plugin-decap-cms/data/decap_cms_config.yaml @@ -14,6 +14,8 @@ collections: create: true # Allow users to create new documents in this collection fields: # The fields each document in this collection have - {label: "Display name (such as your full name)", name: "title", widget: "string"} + - {label: "First name", name: "first_name", widget: "string", required: false} + - {label: "Last name", name: "last_name", widget: "string", required: false} - {label: "Position or tagline (such as Professor of AI)", name: "role", widget: "string", required: false} - label: "Avatar (upload an image named `avatar.jpg/png`)" name: "avatar_filename"