From bb828c37dfe14ee11628b362995d4ff2f6630ff8 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 26 Oct 2020 21:56:58 +0530 Subject: [PATCH] papermod-fetures: update instructions for archive --- content/posts/papermod/papermod-features.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/content/posts/papermod/papermod-features.md b/content/posts/papermod/papermod-features.md index d4f3afd1..e3d7104a 100644 --- a/content/posts/papermod/papermod-features.md +++ b/content/posts/papermod/papermod-features.md @@ -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) ---