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