I am using ServciesStack templates in project. Everything is good and working kind of better than razor.
There is one thing I couldn’t figure it out.
Here is file structure in my project
Shared
| – _layout.html
index.html
about.html
Product
| – product.html
Now, resources (javascript,css etc) are referenced in layout. Which works without any issue for index
and about
page. But breaks for product
page.
It is mostly path of resources. If I fix for product
it will break for others. I couldn’t figure it out how to solve it.
I guess I am missing something like ~
in template which find out path for resources. Or is there any other way to do it.
Let me know if any further details are required.
PS: Template is awesome.