Skip to content

Building static sites in Clojure with Stasis

cjohansen.no
26 pointscjohansen3 comments
On HN

Comments

This is great. I like that it includes code highlighting in the example. You know your audience :)

I have a rails app for my blog and I've been looking to move over to a static site recently. This would be a great excuse to use Clojure, which I rarely get to do.

Building static sites in Clojure
Unlike pretty much every other static site generator, though, it is not an "opinionated framework",

?

Stuff like the link checker seem really useful though.

I've only used middleman, but it's definitely a inversion of control framework. Your code will somehow magically get invoked, and there's a lot of stuff going on under the hood. In statis, you create your own plain Ring app and invoke some functions, so it's more clear what happens where and why.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.