perun

Discuss perun static site generator
bhagany 2016-11-18T07:38:03.000213Z

Okay, I opened a PR with some ideas for discussion: https://github.com/hashobject/perun/pull/109

juhoteperi 2016-11-18T19:58:36.000215Z

I have pretty much dropped Perun from Clojutre and our company web pages, the current model is too tied to blog model

juhoteperi 2016-11-18T19:59:20.000217Z

But I have had great success with Boot and simple task which uses c.t.n to reload Clojure namespaces and render hiccup to html

juhoteperi 2016-11-18T19:59:37.000218Z

Inside those Clojure namespaces I can parse markdown to hiccup and generate stuff however I want

juhoteperi 2016-11-18T20:01:30.000219Z

And I can re run the render whenever any file changes so that even if the code reads external files, like markdown or something, I get instant reloads

juhoteperi 2016-11-18T20:03:13.000220Z

I will probably try to integrate some parts of Perun with this model, to embed list of blog posts in some "static pages"

podviaznikov 2016-11-18T21:18:43.000221Z

@juhoteperi I think I agree with you on Perun base tasks being too tied to blog model. I’m building personal site now (more sections than just blog http://podviaznikov.com/) and having some small problems (like it’s not always obvious what to do if I want just to render static page). I will try to keep track of this problems so that we can think how to solve them.