mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	multiple author support 1256f35
				
					
				
			This commit is contained in:
		@@ -132,7 +132,7 @@ To reduce generation time and size of the site, you can disable this feature usi
 | 
				
			|||||||
```yml
 | 
					```yml
 | 
				
			||||||
params:
 | 
					params:
 | 
				
			||||||
  cover:
 | 
					  cover:
 | 
				
			||||||
    responsiveImages: false 
 | 
					    responsiveImages: false
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To enable hyperlinks to the full image size on post pages, use
 | 
					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
 | 
					### Comments
 | 
				
			||||||
 | 
					
 | 
				
			||||||
to add comments, create a html file
 | 
					to add comments, create a html file
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -74,6 +74,7 @@ params:
 | 
				
			|||||||
  title: ExampleSite
 | 
					  title: ExampleSite
 | 
				
			||||||
  description: 'ExampleSite's description'
 | 
					  description: 'ExampleSite's description'
 | 
				
			||||||
  author: Me
 | 
					  author: Me
 | 
				
			||||||
 | 
					  # author: ["Me", "You"] # multiple authors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  images: "<link or path of image for opengraph, twitter-cards>"
 | 
					  images: "<link or path of image for opengraph, twitter-cards>"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -135,6 +136,7 @@ weight: 1
 | 
				
			|||||||
aliases: ['/first']
 | 
					aliases: ['/first']
 | 
				
			||||||
tags: ['first']
 | 
					tags: ['first']
 | 
				
			||||||
author: "Me"
 | 
					author: "Me"
 | 
				
			||||||
 | 
					# author: ["Me", "You"] # multiple authors
 | 
				
			||||||
showToc: true
 | 
					showToc: true
 | 
				
			||||||
TocOpen: false
 | 
					TocOpen: false
 | 
				
			||||||
draft: false
 | 
					draft: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user