OK, at this stage it's just an empty LuminusWeb project...

This commit is contained in:
Simon Brooke 2014-07-01 11:35:55 +01:00
commit e455387f96
19 changed files with 547 additions and 0 deletions

15
src/mw_ui/routes/home.clj Normal file
View file

@ -0,0 +1,15 @@
(ns mw-ui.routes.home
(:use compojure.core)
(:require [mw-ui.layout :as layout]
[mw-ui.util :as util]))
(defn home-page []
(layout/render
"home.html" {:content (util/md->html "/md/docs.md")}))
(defn about-page []
(layout/render "about.html"))
(defroutes home-routes
(GET "/" [] (home-page))
(GET "/about" [] (about-page)))