Add incremented variable to support paginated pages
increment {...} content is now evaluated only if required
Now using jinja2 templating library