Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Drake <24644237+victoriadrake@users.noreply.github.com>2022-02-22 17:06:29 +0300
committerGitHub <noreply@github.com>2022-02-22 17:06:29 +0300
commit7694f9b1b47949f62a24fabd54d795df36942425 (patch)
tree4aabb9178e328907765e4bae6d1c0f66268767e4 /exampleSite/content/en/blog/multi-author.md
parentc88d3a359d04b91ad269d68720f2b80243c498da (diff)
Introduction v6.0.0 (#329)
* Simplify dark theme - Make dark theme less awful (sorry about that) * Update exampleSite posts * Add support for multiple authors per post (#328)
Diffstat (limited to 'exampleSite/content/en/blog/multi-author.md')
-rw-r--r--exampleSite/content/en/blog/multi-author.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/exampleSite/content/en/blog/multi-author.md b/exampleSite/content/en/blog/multi-author.md
new file mode 100644
index 0000000..a15cb06
--- /dev/null
+++ b/exampleSite/content/en/blog/multi-author.md
@@ -0,0 +1,27 @@
+---
+title: "Support for Multiple Authors"
+date: 2022-02-21T16:04:06-05:00
+tags: ["features", "blog"]
+series: ["quickstart"]
+author: ["Hugo Contributors"]
+---
+
+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:
+
+```yaml
+---
+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:
+
+```yaml
+author: ["Hugo Contributors", "Victoria Drake"]
+```
+
+Even when there is just one author, ensure you use a list format (`["Name"]`) for the `author` field.