magnars/stasis — pull request #11 by magnars (2014-08-07 12:00:52+00:00)
Title: Add support for dependent pages

Instead of returning a string of html, you return a map:

{:contents "the html",
:dependent-pages {"/uri" "contents"}}

These dependent pages are then also served and exported.

This allows you to keep your page-creation logic to stay sane while
creating subpages for them, especially when using lazy evaluation of
pages with the get-page feature.