xsbt-scalate-precompile-plugin is a sbt plug-in which makes precompilation Scalate templates in the sbt build process (Scalate is a template engine for Scala).
However xsbt-scalate-precompile-plugin 1.5 had one serious problem which does not process templates in the nested directory. For example, it could't handle the layout template (which have to be placed into WEB-INF/scalate/layouts) correctly.
I made a patch to fix this problem and send it. It's taken in xsbt-scalate-precompile-plugin 1.6.
The fixed version of xsbt-scalate-precompile-plugin 1.6 is already available! Now it can process templates in the nested directory correctly.