Not sure what render-wiki-page
looks like internally but maybe this might help...
(defn home-routes []
[""
{:middleware [middleware/wrap-csrf
middleware/wrap-formats]
:conflicting true}
[""
["/" {:get (fn [request] (layout/render request "home.html"))}]
["/:slug" {:get (fn [{{:keys [slug]} :path-params :as request}]
(let [title "The title" body "The body" uri-slug slug]
(layout/render request
"wiki.html"
{:title title :body body :uri-slug uri-slug})))}]
["/graphiql" {:get (fn [request] (layout/render request "graphiql.html"))}]]])