Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defn essay [slug]
(render-request
(temp/base {:title "Essay"
:navigation (temp/nav)
:content (temp/essay [(essays/fetch slug)])}))
(def core
(app
wrap-params
(wrap-static "src/alen_blog/static" ["/js" "/css"])
["essays" slug] views/essay
[""] views/home
[&] page-not-found))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.