diff --git a/hugo.toml b/hugo.toml index b1d905f..5ec0c72 100644 --- a/hugo.toml +++ b/hugo.toml @@ -34,6 +34,20 @@ label = "Alias" name = "alias" widget = "string" +[params.decap_cms._configs.field_authors.fields.authors] +i18n = true +name = "authors" +label = "Authors" +required = false +widget = "list" +summary = "{{fields.author}}" +collapsed = true +minimize_collapsed = true +[params.decap_cms._configs.field_authors.fields.authors.field] +label = "Author" +name = "author" +widget = "string" + [params.decap_cms._configs.field_body.fields.body] i18n = true name = "body" diff --git a/i18n/en.toml b/i18n/en.toml index fb35922..04289b6 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -4,6 +4,12 @@ other = "Alias" [cms_field_label_aliases] other = "Aliases" +[cms_field_label_author] +other = "Author" + +[cms_field_label_authors] +other = "Authors" + [cms_field_label_body] other = "Body" diff --git a/i18n/zh-hans.toml b/i18n/zh-hans.toml index 2d80e5b..1210a9e 100644 --- a/i18n/zh-hans.toml +++ b/i18n/zh-hans.toml @@ -4,6 +4,12 @@ other = "别名" [cms_field_label_aliases] other = "别名" +[cms_field_label_author] +other = "作者" + +[cms_field_label_authors] +other = "作者" + [cms_field_label_body] other = "正文" diff --git a/i18n/zh-hant.toml b/i18n/zh-hant.toml index 6b4d502..d104f8e 100644 --- a/i18n/zh-hant.toml +++ b/i18n/zh-hant.toml @@ -4,6 +4,12 @@ other = "別名" [cms_field_label_aliases] other = "別名" +[cms_field_label_author] +other = "作者" + +[cms_field_label_authors] +other = "作者" + [cms_field_label_body] other = "正文"