Skip to content

Commit

Permalink
describe if_statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcw committed Nov 27, 2013
1 parent 9dde02d commit 27c57da
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@
Introduction
============

Flexible redering plugins for mrbob
Flexibles rendering plugins for mrbob

Plugins
========

If_Statement
--------------

Add an **+__if_any.var__+** statement to influence rendering.

For example foo/+if_render.me++author+/+age+.bob given variables author being Foo and age being 12, foo/Foo/12 will be rendered if **render.me** is True.

Else only foo/ will be rendered. Please notice that only ('y', 'yes', 'true', 'True', 1) are True, anything else will be considred as False.



Tests
=====
Expand Down

0 comments on commit 27c57da

Please sign in to comment.