Matthew Butterick

Results 193 comments of Matthew Butterick

I’ve put up a Discourse server at https://forums.matthewbutterick.com with an area for Pollen discussion. I invite members of `pollen-users` to inspect this server. Absent any objections or unforeseen wrinkles, I...

Codeberg is just a hosted Gitea instance. So I thought: why not just put up my own Gitea server, if I could get it working in 30 min or less....

Pollen’s template rendering is derived from the [`include-template`](https://docs.racket-lang.org/web-server/templates.html?q=include-template#%28form._%28%28lib._web-server%2Ftemplates..rkt%29._include-template%29%29) function in Racket, which itself demands files as input. In other words, this limitation is outside Pollen, and thus “hacking Pollen” won’t...

No, but you can put your doc in a temp file and render that. > On Jul 3, 2021, at 8:40 AM, Yuan Fu ***@***.***> wrote: > >  >...

Perhaps also look into [Colophon](https://colophon.basus.me/) by @basus.

FWIW I’m not a blogger. I’ve never used Pollen to make blogs. Thus I have never made bloggy features a priority. Especially because there are already a zillion blog engines...

I’m not clear why you’re ruling out separate source files. I would make `main.c.pp`, `utils.c.pp` etc. and have them extract the appropriate `code` tags from `my-app.html.pm` (or wherever). Then it...

Though I agree the `setup` module is the most obvious place for this, I’m also leery of making these rendering functions dependent on resolution through `setup` (because of the performance...

I suppose I’m just trying to conceptualize what the narrowest / most general API between `beeswax` and `pollen` could be. For instance, is it fair to say that you’re rendering...

OK, so maybe the way for us to think about it is opening Pollen rendering to some function that returns `bytes?` (by whatever method) and then `beeswax` is a client....