Authors Setup Guide
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
id = "muniftanjim"
[email]
username = "muniftanjim"
host = "gmail.com"
[name]
display = "Munif Tanjim"
[social]
email = ""
facebook = "MunifTanjim"
twitter = "MunifTanjim"
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
ofString
s]: username of authors
That’s all.
Thank You!
Your comment has been submitted. It will appear on this page shortly! OKYikes, Sorry!
Error occured. Couldn't submit your comment. Please try again. Thank You! OK