glimpse.impl.default.io
Functions that find HTML resources.
page-resource
(page-resource root uri)(page-resource root uri name)Gets the HTML page resource for a given uri. If the uri ends with a '/', a file named 'index.html' is assumed to be the intended resource.
partial-resource
(partial-resource root uri name)Gets the HTML partial resource specified by name for the given uri.
template-resource
(template-resource root uri name)Gets the HTML template resource specified by name for the given uri.