You can now call pages.decoratePageContent from anywhere in order to decorate your own standalone HTML page the same way the page module would (tucking the main content in an outer layout, and passing up the body class via a special comment). This is a temporary solution until nunjucks has conditional extends.
Merge branch 'master' of github.com:punkave/apostrophe-pages