Files
site/themes/minimo/exampleSite/content/docs/authors.md
2021-09-06 13:02:12 -04:00

1.2 KiB

date, lastmod, title, authors, categories, tags, slug
date lastmod title authors categories tags slug
2017-09-26T06:00:00+06:00 2017-10-11T17:30:00+06:00 Authors Setup Guide
muniftanjim
features
authors
authors

Minimo supports multiple authors for your site. Just make sure you have the following configuration in your site's config.toml:

[taxonomies]
author = "authors"

Minimo treats Authors as a Hugo Taxonomy.

Author's Profile

For adding an author to your site:

  • Create data/authors folder in your site's root directory
  • Create a file with the filename format: <username>.toml

Now, add information about the author using the structure below:

/data/authors/muniftanjim.toml

{{< file "data/authors/muniftanjim.toml" >}}

You can use either the [email] fields or the [social.email] field. You don't need to fill them both. However, it is encouraged to use [email] instead of [social.email].

Adding Authors to Contents

For adding authors to your content include the following option in your content's front-matter:

---
authors: ["muniftanjim"]
---
  • authors [Array of Strings]: username of authors

That's all.