Skip to content

Commit

Permalink
feat: add the noindex field
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 18, 2024
1 parent 3197a60 commit cce6090
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ label = "Layout"
required = false
widget = "string"

[params.decap_cms._configs.field_noindex.fields.noindex]
i18n = true
name = "noindex"
label = "Noindex"
widget = "boolean"
required = false

[params.decap_cms._configs.field_series.fields.series]
i18n = true
name = "series"
Expand Down
3 changes: 3 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ other = "Keywords"
[cms_field_label_layout]
other = "Layout"

[cms_field_label_noindex]
other = "Noindex"

[cms_field_label_series]
other = "Series"

Expand Down
3 changes: 3 additions & 0 deletions i18n/zh-hans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ other = "关键词"
[cms_field_label_layout]
other = "布局"

[cms_field_label_noindex]
other = "禁止索引"

[cms_field_label_series]
other = "专栏"

Expand Down
3 changes: 3 additions & 0 deletions i18n/zh-hant.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ other = "關鍵詞"
[cms_field_label_layout]
other = "佈局"

[cms_field_label_noindex]
other = "禁止索引"

[cms_field_label_series]
other = "專欄"

Expand Down

0 comments on commit cce6090

Please sign in to comment.