From 8c659cdeb849e982022556ed9ef4de0ad4dd8d1d Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 25 Oct 2020 13:18:45 +0530 Subject: [PATCH] multiple author support 1256f35 --- content/posts/papermod/papermod-features.md | 22 ++++++++++++++++++- .../posts/papermod/papermod-installation.md | 2 ++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/content/posts/papermod/papermod-features.md b/content/posts/papermod/papermod-features.md index 37ecb493..d4f3afd1 100644 --- a/content/posts/papermod/papermod-features.md +++ b/content/posts/papermod/papermod-features.md @@ -132,7 +132,7 @@ To reduce generation time and size of the site, you can disable this feature usi ```yml params: cover: - responsiveImages: false + responsiveImages: false ``` To enable hyperlinks to the full image size on post pages, use @@ -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 diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index c09d4226..d443de54 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -74,6 +74,7 @@ params: title: ExampleSite description: 'ExampleSite's description' author: Me + # author: ["Me", "You"] # multiple authors images: "" @@ -135,6 +136,7 @@ weight: 1 aliases: ['/first'] tags: ['first'] author: "Me" +# author: ["Me", "You"] # multiple authors showToc: true TocOpen: false draft: false