Open lebogan opened 2 years ago
You should still be able to use it! If you look at this issue, it provides some hints: https://github.com/kemalcr/kemal/pull/615
You can also still include kilt
in your dependencies and use it like:
Kilt.render("path/to/file.slang")
(I think)
Not too sure how to do this. Currently my slang files are not being rendered to html. I am using the master branch from both slang and kemal. I tried including kilt as a dependency. No go. Using this macro:
macro my_renderer(filename)
render("src/views/#{{{filename}}}.slang", "src/views/layouts/layout.slang")
end
I tried not using the master branch of kemal and slang renders fine. Not sure how this will all play out going forward. Do I still require "kilt/slang"
?
There's probably more to it then that, but you'll still need to require "kilt/slang"
yes.
Kemal does something with layouts and views that's not supported out of the box with kilt or slang. Whatever allows them to do <%= content %>
in layout templates.
@sdogruyol what do you tell users to do now? :)
Not an issue yet : I have been using slang for some time for its simple elegance. Like slim, it helps me avoid the embedded syntax structures. Kemal is removing kilt dependency. How is that going to affect slang going forward? Will I be tied to ecr again? Ugh!
Thank you for writing this shard in the first place. I have quite a few apps in production that depend on it.