Skip to content

Commit

Permalink
feat: add the comments field (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Razon Yang <razonyang@gmail.com>
  • Loading branch information
pleasantone and razonyang authored Feb 5, 2024
1 parent 32971cb commit 8d1b2d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8d1b2d0

Please sign in to comment.