magnars / stasis

Some Clojure functions for creating static websites.
348 stars 27 forks source link

which file i should put the following content into? #10

Closed luckypoem closed 10 years ago

luckypoem commented 10 years ago

hi. http://cjohansen.no/building-static-sites-in-clojure-with-stasis can't be opened.i searched its snapshot: http://webcache.googleusercontent.com/search?q=cache:xOk4FxU2v2EJ:cjohansen.no/building-static-sites-in-clojure-with-stasis+&cd=1&hl=zh-CN&ct=clnk ,i don't understand which file i should put the following content into:

{:status 200 :headers {"Content-Type" "text/html"} :body "Hello World"}

? tks

magnars commented 10 years ago

Hello!

It seems the blog post is up again now. His web server is a mess. ;-) Try reading it again, see if it makes sense now. It looks like a response to a request to me.