From f936dc444330b949efd551664b941e1d62471331 Mon Sep 17 00:00:00 2001 From: Peter Willis Date: Wed, 13 Mar 2019 13:53:09 +0000 Subject: [PATCH] add container --- admin/config.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/admin/config.yml b/admin/config.yml index 6b14e68..6f97ef6 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -10,20 +10,26 @@ collections: fields: - {label: "Layout", name: "layout", widget: "hidden", default: "home"} - {label: "Title", name: "title", widget: "string"} - - label: 'Rows' - name: 'Rows' - label_singular: "row" + - label: 'Containers' + label_singular: 'Container' + name: 'Containers' widget: 'list' fields: - - label: 'Columns' - name: 'Columns' - label_singular: "column" + - label: 'Rows' + name: 'Rows' + label_singular: "row" widget: 'list' fields: - - {label: "Body", name: "body", widget: "markdown"} - + - {label: "Css Classes", name: "class", widget: "text", default: "row"} + - label: 'Columns' + name: 'Columns' + label_singular: "column" + widget: 'list' + fields: + - {label: "Css Classes", name: "class", widget: "text", default: "col"} + - {label: "Body", name: "body", widget: "markdown"} meta: - - { label: 'SEO Description', name: 'description', widget: 'text' } + - {label: 'SEO Description', name: 'description', widget: 'text'} preview_path: "pages/{{slug}}" - name: "blog" label: "Posts"