Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Cambera <alfredocambera@gmail.com>2019-11-26 21:56:39 +0300
committerGitHub <noreply@github.com>2019-11-26 21:56:39 +0300
commitb2a94dd3a1db065446ad98df01e09933c31a179e (patch)
tree052a288c75645de0c5d1237a6254bcccf5927320 /README.md
parent3c3ba750b4a9edf136a1dc280533de8d7a6dc3d9 (diff)
updated main menu doc
* Added link to `front matter`. * Added YAML example configuration for post listing page.
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index f4ac7f9..1761114 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ googleAnalytics = "" #Google Analytics ID
### Main Menu
-Add regular non-posts related page (eq. About page) to the main menu by adding these lines to the page front matter:
+To add non-posts related page (eq. About page) to the main menu, adding these lines to the page [front matter](https://gohugo.io/content-management/front-matter/):
TOML:
@@ -128,11 +128,18 @@ For posts listing page, add `_index.md` file inside `content\posts` folder with
TOML:
```toml
-+++
title = "Posts"
menu = "main"
weight = "10"
-+++
+```
+
+
+YAML:
+
+```yml
+title : "Posts"
+menu : "main"
+weight : "10"
```
### Categories & Tags