making Bootstrap sphinx template work for static pages (using Web2Py substitutions instead of Sphinx)