mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	papermod-fetures: update instructions for archive
This commit is contained in:
		@@ -43,12 +43,19 @@ disableThemeToggle : true
 | 
			
		||||
 | 
			
		||||
### Archives Layout
 | 
			
		||||
 | 
			
		||||
Create a page with `archive.md`
 | 
			
		||||
Add vars below to its page-variables
 | 
			
		||||
Create a page with `archive.md` in `content` directory with following content
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
layout: "archives"
 | 
			
		||||
---
 | 
			
		||||
title: "Archive" # in any language you want
 | 
			
		||||
layout: "archives" # is necessary
 | 
			
		||||
url: "/archive"
 | 
			
		||||
summary: "archive"
 | 
			
		||||
---
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
**Note:** Archives Layout does not support Multilingual Month Translations.
 | 
			
		||||
 | 
			
		||||
ex: [archives.md](https://raw.githubusercontent.com/adityatelange/hugo-PaperMod/exampleSite/content/archives.md)
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user