@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
thanks. I upgraded selmer from .12 to .18 (patch version) and it now does not work anymore...
😆 ping @yogthos
hmm not sure what would've changed in between
is there any error or anything?
also it should be selmer.parser/set-resource-path!
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
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.