diff --git a/README.md b/README.md index e756f20..cc3ab7c 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,23 @@ title: My exploration of the outside world sub_title: it's a scary place, don't go there ``` +If you want a menu add this in settings.yaml: + +```yaml +menu: + - about: "About Me" + - contact: "Contact" +``` + +After you need create ``about.yaml`` and ``contact.yaml`` like this: + +```yaml +title: "Contact" +sections: + - type: text + text: Some text, HTML is allowed. +``` + ### Gallery settings.yaml This settings.yaml will describe: diff --git a/prosopopee/templates/menu.html b/prosopopee/templates/menu.html index 6c8e9dc..7bd70e3 100644 --- a/prosopopee/templates/menu.html +++ b/prosopopee/templates/menu.html @@ -2,10 +2,11 @@