3 ms·
Oh god, don't tell me about janky stack. My stack for the blog is Org Mode compiled by Emacs into HTML, which then gets parsed by my Common Lisp static site ge
by TeMPOraL 6y ago
Oh god, don't tell me about janky stack.
My stack for the blog is Org Mode compiled by Emacs into HTML, which then gets parsed by my Common Lisp static site generator. It's a weird setup, but it came to be because:
- The rest of the site, and the overall template, is generated straight from Common Lisp (using a much saner syntax for markup and styling than HTML/CSS),
- writing a parser for Org Mode for anything but the most basic features is a rather complicated endeavor, so it's better to let Emacs deal with it and then clean up the exported markup,
- I also imported posts from my old Wordpress blog, as HTML dumped from a database, so I had the tools to slice and dice DOM in my CL generator anyway.
I really hate how bad this design is. It needs rewriting from scratch into something designed closer to a build system, but that would take a lot of time, so I procrastinate on that endlessly. On the other hand, writing blog articles in Org Mode is super fun, so the frustrations cancel out with the benefits.
- dpbriggs 6y agoThat's indeed a janky setup :P What libraries / frameworks do you use in Common Lisp to generate the site?
- TeMPOraL 6y agoCL-WHO - to generate HTML LASS - to generate CSS colorize - to colorize source code snippets and embed documentation links in them Plump, Plump-SEXP, CLSS - for occasional fixing of imported HTML documents "on the fly"