diff --git a/hugo.toml b/hugo.toml index 9385d49..46890fa 100644 --- a/hugo.toml +++ b/hugo.toml @@ -72,6 +72,14 @@ label = "Draft" default = true widget = "boolean" +[params.decap_cms._configs.field_expiry_date.fields.expiry_date] +i18n = true +name = "expiryDate" +label = "Expiry Date" +widget = "datetime" +picker_utc = true +required = false + [params.decap_cms._configs.field_images.fields.images] i18n = "duplicate" name = "images" diff --git a/i18n/en.toml b/i18n/en.toml index b94abf7..64fb9f2 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -19,6 +19,9 @@ other = "Description" [cms_field_label_draft] other = "Draft" +[cms_field_label_expiry_date] +other = "Expiry Date" + [cms_field_label_images] other = "Images" diff --git a/i18n/zh-hans.toml b/i18n/zh-hans.toml index 1934b86..a6c8aa0 100644 --- a/i18n/zh-hans.toml +++ b/i18n/zh-hans.toml @@ -19,6 +19,9 @@ other = "描述" [cms_field_label_draft] other = "草稿" +[cms_field_label_expiry_date] +other = "有效期" + [cms_field_label_images] other = "图片" diff --git a/i18n/zh-hant.toml b/i18n/zh-hant.toml index c3024c1..6f48b8a 100644 --- a/i18n/zh-hant.toml +++ b/i18n/zh-hant.toml @@ -19,6 +19,9 @@ other = "描述" [cms_field_label_draft] other = "草稿" +[cms_field_label_expiry_date] +other = "有效期" + [cms_field_label_images] other = "圖片"