{ debug admin off auto_https off http_port 8000 } http://template.localhost { root example/static # If the path exists in the static directory then serve it directly @static file {path} {path}/ route @static { file_server } # Otherwise send it through the template, which will look for a matching gmi # file to render. route { rewrite * /tpl/render_gemtext.html root example templates { extensions { gemtext } } file_server } }