multiple author support 1256f35

This commit is contained in:
Aditya Telange 2020-10-25 13:18:45 +05:30
parent d467fcad30
commit 8c659cdeb8
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 23 additions and 1 deletions

View File

@ -184,6 +184,26 @@ TocOpen: true
---
### Multiple Authors
To Use multiple authors for a post, in post-variables:
```yml
---
author: ["Me", "You"]
---
```
To use Multiple Authors Site-wide, in `config.yml`:
```yml
params:
author: ["Me", "You"]
```
---
### Comments
to add comments, create a html file

View File

@ -74,6 +74,7 @@ params:
title: ExampleSite
description: 'ExampleSite's description'
author: Me
# author: ["Me", "You"] # multiple authors
images: "<link or path of image for opengraph, twitter-cards>"
@ -135,6 +136,7 @@ weight: 1
aliases: ['/first']
tags: ['first']
author: "Me"
# author: ["Me", "You"] # multiple authors
showToc: true
TocOpen: false
draft: false