Fork me on GitHub
#cryogen
<
2020-01-16
>
Jakub Holý (HolyJak)19:01:11

@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))?

carmen19:01:18

@holyjak I believe this line does it

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

carmen19:01:24

argh slack formatting is so aggressive now

Jakub Holý (HolyJak)19:01:00

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

yogthos19:01:26

hmm not sure what would've changed in between

yogthos19:01:08

is there any error or anything?

yogthos19:01:53

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

👀 4
Jakub Holý (HolyJak)20:01:22

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.