~benaiah/fennel-openresty

ref: 269cbdcd3a8e7bcb045c7731f51c80f524a9c6b0 fennel-openresty/server/server.fnl -rw-r--r-- 141 bytes
269cbdcdBenaiah Mischenko Initial OpenResty+Fennel setup 3 years ago
                                                                                
1
2
3
4
5
6
7
8
(global ngx ngx)
(local html (require :html))

(local homepage
       [:div {}
        [:h1 {} "Hello, world!"]])

(ngx.say (html homepage))