saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 5e2350c111fc98aa24afd457ce076641f3f451da
parent e205e24ff4ef479fc7fd720364e62949bcf3d108
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 21 Jan 2018 16:13:31 +0100

update README: some corrections and add sync example

Diffstat:
MREADME | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -27,9 +27,9 @@ Directory structure for pages: Directory structure for templates: -- templates/<templatename>_item.ext -- templates/<templatename>_header.ext -- templates/<templatename>_footer.ext +- templates/<templatename>/item.ext +- templates/<templatename>/header.ext +- templates/<templatename>/footer.ext The files are saved as output/<templatename>.ext @@ -83,3 +83,9 @@ this is a basic example: this is an example for how it's used in practice and for many pages: $ saait -o /path/to/www /path/to/*.cfg + +or: + + $ saait `ls -1r pages/*.cfg` + $ cp style.css print.css output/ + $ rsync -av output/ user@somehost:/var/www/htdocs/