Skip to content

Commit

Permalink
fix: describe fields by hint parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Feb 5, 2024
1 parent b9306fd commit f564d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ name = "comments"
label = "Comments"
i18n = "duplicate"
required = false
hint = "Whether to show comments."

[params.decap_cms._configs.hb_field_featured.fields.featured]
default = false
Expand All @@ -22,6 +23,7 @@ name = "featured"
label = "Featured"
i18n = true
required = false
hint = "Featured post will be shown on homepage carousel."

[params.decap_cms._configs.hb_field_pinned.fields.pinned]
default = false
Expand All @@ -30,3 +32,4 @@ name = "pinned"
label = "Pinned"
i18n = true
required = false
hint = "Whether to pin the post on homepage and list."

0 comments on commit f564d3d

Please sign in to comment.