mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +00:00
7694f9b1b4
* Simplify dark theme - Make dark theme less awful (sorry about that) * Update exampleSite posts * Add support for multiple authors per post (#328)
805 B
805 B
title | date | tags | series | author | ||||
---|---|---|---|---|---|---|---|---|
Support for Multiple Authors | 2022-02-21T16:04:06-05:00 |
|
|
|
Using Introduction, your site can feature multiple authors. Each post displays a byline -- the name of a post's author -- if the author
field is set in the post front matter. For example, here's the front matter for this post:
---
title: "Support for Multiple Authors"
date: 2022-02-20T02:04:06-05:00
tags: ["features", "blog"]
series: ["quickstart"]
author: ["Hugo Contributors"]
---
You can list one or more authors. For example, here's a byline with two credits:
author: ["Hugo Contributors", "Victoria Drake"]
Even when there is just one author, ensure you use a list format (["Name"]
) for the author
field.