jinjer2 is a jinja2 command line macro tool (recursive file processor)
python setup.py install
export VERBOSE=1
jinjer2.py
- load models (import models.py)
- walk template directories (content), render against local -> output dir
- local = models + <root_dir>/site.py + <next_root_dir>/site.py + <bottom_dir>/site.py
- walk static directories (static), copy/link -> output dir
-
how do includes work? relative to root?
-
template inheritance example?
-
when walking directories, probably dont need to copy the toplevel name
(i.e. dont copy into ./output/content/stuff/blah.xxx -> do output/stuff/blah.xxx)