private static final Object NO_CONTEXT = null;
public void run(WebServer server) throws IOException {
File content = ResourceLocator.locateOnClasspath("examples/fox");
// Add cache directives to the response when serving files
FileServer files = new FileServer(content).header(CACHE_CONTROL, "public; max-age=60");
// Serve static assets for css, js and image files from the content dir.
StaticAssets assets = new StaticAssets(files).serve("/css", "/js", "/images");
// We use Mustache templates with an .html extension
Templates templates = new Templates(new JMustacheRenderer().fromDir(content).extension("html"));
final Template index = templates.named("index");