youyesyet.layout

Render web pages using Selmer templating markup.

*app-context*

dynamic

FIXME: write docs

*user*

dynamic

FIXME: write docs

error-page

(error-page error-details)
error-details should be a map containing the following keys:
:status - error status
:title - error title (optional)
:message - detailed error message (optional)
returns a response map with the error page as the body
and the status specified by the status key

get-user-roles

Return, as a set, the names of the roles of which this `user` is a member.

render

(render template & [params])
renders the HTML `template` located relative to resources/templates in
the context of this session and with these parameters.

render-with-session

(render-with-session template session & [params])
renders the HTML `template` located relative to resources/templates in
the context of this session and with these parameters.