cryogen 2020-01-16

Jakub Holý (HolyJak) 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))?

@holyjak I believe this line does it

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

argh slack formatting is so aggressive now

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

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

hmm not sure what would've changed in between

is there any error or anything?

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

👀 1
Jakub Holý (HolyJak) 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.