2013-01-03 04:06:22 +01:00
|
|
|
; Copyright (c) Paul R. Tagliamonte <tag@pault.ag>, 2013 under the terms of
|
|
|
|
; hy.
|
2013-01-03 04:05:14 +01:00
|
|
|
|
2013-01-03 04:06:22 +01:00
|
|
|
(import-from flask
|
|
|
|
Flask render-template)
|
2013-01-03 04:05:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
(def app (Flask "__main__"))
|
|
|
|
|
|
|
|
|
|
|
|
(decorate-with (.route app "/")
|
|
|
|
(defn index []
|
|
|
|
(render-template "index.html")))
|