cryogen

http://cryogenweb.org/ - static sites by @U0DJK1VH6 & Co.
Jakub Holý 2020-01-16T19:41:11.005100Z

@carmen Are you there by a chance? i am trying to figure out how (render-file (str "/html/" (:layout page)) ...) is intended to work, i.e. how should selmer know to look under ./themes/<my theme> ? I guess thanks to (set-custom-resource-path! (cryogen-io/path "file:themes" theme))?

carmen 2020-01-16T19:43:18.005700Z

@holyjak I believe this line does it

`(set-custom-resource-path! (cryogen-io/path "file:themes" theme))
`

carmen 2020-01-16T19:43:24.005900Z

argh slack formatting is so aggressive now

Jakub Holý 2020-01-16T19:44:00.006600Z

thanks. I upgraded selmer from .12 to .18 (patch version) and it now does not work anymore...

carmen 2020-01-16T19:45:08.006800Z

😆 ping @yogthos

yogthos 2020-01-16T19:56:26.007200Z

hmm not sure what would've changed in between

yogthos 2020-01-16T19:57:08.007500Z

is there any error or anything?

yogthos 2020-01-16T19:58:53.007900Z

also it should be selmer.parser/set-resource-path!

👀 1
Jakub Holý 2020-01-16T20:24:56.008400Z

I figured it out, here is the fix https://github.com/cryogen-project/cryogen-core/pull/133/files#diff-c402507764497452d2d26369b16dc3deR584 and here it is documented in Selmer https://github.com/yogthos/Selmer/issues/213

Jakub Holý 2020-01-16T20:26:22.009700Z

EVERYBODY: Please give a try to https://github.com/cryogen-project/cryogen-core/pull/133 if you can - it upgrades some key dependencies so it would be good to get it tested on as many sites as possible.