From 8d1b2d007ae48177acec43682f8afddd2153cf4b Mon Sep 17 00:00:00 2001 From: Paul Traina Date: Sun, 4 Feb 2024 20:28:29 -0600 Subject: [PATCH] feat: add the comments field (#6) Co-authored-by: Razon Yang --- hugo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hugo.toml b/hugo.toml index 73a38d9..3cda19e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,6 +7,14 @@ path = "github.com/hugomods/decap-cms" [params.decap_cms._preview_style_partials.hb] path = "hb/assets/css-resource" +[params.decap_cms._configs.hb_field_comments.fields.comments] +default = true +widget = "boolean" +name = "comments" +label = "Comments" +i18n = "duplicate" +required = false + [params.decap_cms._configs.hb_field_featured.fields.featured] default = false widget = "boolean"