diff options
author | Salim B <salim@posteo.de> | 2021-03-29 10:09:54 +0300 |
---|---|---|
committer | Salim B <salim@posteo.de> | 2021-03-29 10:09:54 +0300 |
commit | ea4986a6bffb6207b6bfbe45a91ae22bc41ebe5b (patch) | |
tree | edcec25965b6e04de78a0f435d2c1b901e43353d /exampleSite | |
parent | c7255601c67deee7987bcbaa4df1a80f21cc68bc (diff) |
simplify multi-author support:
with these changes, the config option `multi_author` is not needed
anymore since both atomic strings as well as string arrays are supported
in the `author` frontmatter param
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | exampleSite/content/english/blog/blog-post-2.md | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3262ff9..14d399a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -87,8 +87,6 @@ location = "North Main Street,Brooklyn Australia" contact_form_action = "#" # contact form works with : https://formspree.io # Google Analitycs google_analitycs_id = "" # Your ID# search -# multi-author support (if set to true, you must use an Array in the author field) -multi_author = false # Preloader [params.preloader] diff --git a/exampleSite/content/english/blog/blog-post-2.md b/exampleSite/content/english/blog/blog-post-2.md index a38fe70..bcfc23f 100644 --- a/exampleSite/content/english/blog/blog-post-2.md +++ b/exampleSite/content/english/blog/blog-post-2.md @@ -1,7 +1,7 @@ --- title: "How To Wear Bright Shoes" date: 2018-09-24T11:07:10+06:00 -author: Mark Dinn +author: [ "Mark Dinn", "John Doe" ] image : "images/blog/blog-post-2.jpg" bg_image: "images/featue-bg.jpg" categories: ["Artificial Intelligence"] |