I see <title>App</title>
is hardcoded in defaultLayout
in Web/View/Layout.hs, and Web/View/Context.hs has
let viewContext = ViewContext {
requestContext = ?requestContext,
user = currentUserOrNothing,
flashMessages,
controllerContext = ?controllerContext,
layout = let ?viewContext = viewContext in defaultLayout
}
but how do I use a different function for a specific View? The html
function of the View class doesn't seem to return a new context, just a new html for part of the page.