Support jinja2 templating in pages as well

This PR makes it possible for static pages to interpret Jinja2 commands, which makes for some easy coding inside otherwise *.md files.

It uses `type()` because `isinstance(..., contents.Page)` is too broad and matches everything which breaks the generator.

Please merge it if you will.