Skip to content

Commit

Permalink
feat: add the linkTitle field
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 18, 2024
1 parent 41ec978 commit feb7816
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_link_title.fields.link_title]
i18n = true
name = "linkTitle"
label = "Link Title"
required = false
widget = "string"

[params.decap_cms._configs.field_noindex.fields.noindex]
i18n = true
name = "noindex"
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_link_title]
other = "Link Title"

[cms_field_label_noindex]
other = "Noindex"

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_link_title]
other = "链接标题"

[cms_field_label_noindex]
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_link_title]
other = "鏈接標題"

[cms_field_label_noindex]
other = "禁止索引"

Expand Down

0 comments on commit feb7816

Please sign in to comment.