Readme.md update

This commit is contained in:
zzossig 2019-11-05 00:45:35 +09:00
parent 948fb6dafe
commit 2506068fc6
1 changed files with 6 additions and 39 deletions

View File

@ -168,48 +168,15 @@ rssLimit = 100
4. menus.en.toml 4. menus.en.toml
This example file is the zzo theme's default menu options. You should edit yours. You shoud make your own menu.
```bash ```bash
[[main]] [[main]]
identifier = "about" identifier = "home"
name = "about" name = "home"
url = "/about/" url = "/"
weight = 1 weight = 0
...
[[main]]
identifier = "archive"
name = "archive"
url = "/archive/"
weight = 2
[[main]]
identifier = "gallery"
name = "gallery"
url = "/gallery"
weight = 3
[[main]]
parent = "gallery"
name = "cartoon"
url = "/gallery/cartoon"
[[main]]
parent = "gallery"
name = "photo"
url = "/gallery/photo"
[[main]]
identifier = "posts"
name = "posts"
url = "/posts/"
weight = 4
[[main]]
identifier = "notes"
name = "notes"
url = "/notes/"
weight = 5
``` ```
5. params.toml 5. params.toml