From f144a53ee5c3f8bb3d7d006f4e836c2ed02674d7 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Tue, 9 Feb 2016 21:59:03 +0100 Subject: [PATCH] Update README --- README.md | 17 +++++++++++++++++ prosopopee/templates/menu.html | 5 +++-- prosopopee/templates/page.html | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) 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 @@