mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
papermod-fetures: update instructions for archive
This commit is contained in:
parent
8c659cdeb8
commit
bb828c37df
@ -43,12 +43,19 @@ disableThemeToggle : true
|
|||||||
|
|
||||||
### Archives Layout
|
### Archives Layout
|
||||||
|
|
||||||
Create a page with `archive.md`
|
Create a page with `archive.md` in `content` directory with following content
|
||||||
Add vars below to its page-variables
|
|
||||||
|
|
||||||
```yml
|
```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)
|
ex: [archives.md](https://raw.githubusercontent.com/adityatelange/hugo-PaperMod/exampleSite/content/archives.md)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user