note moritz <blockquote> 1-st I've wrote 'Mojolicious' not 'Mojolicious::Lite'</blockquote> <p>And Mojolicious::Lite is in the [dist://Mojolicious] distribution. So without prior knowledge it's not obvious that you are excluding ::Lite.</p> <blockquote>2-nd If you wold look at you would see that even in __DATA__ section layout is under 'layouts/' path.</blockquote> <p>But it's not in a <c>layouts</c> <b>directory</b>, which you asked about.</p> <p>Maybe if you gave use more background information (why is it so terrible to have <c>layouts</c> in the path? What do you want to achieve?) it would be easier for us to help you.</p> <p>Anyway, grepping through the Mojolicious sources, I found only one place that hard-codes the path <c>layouts</c>, and that's in Mojolicious::Renderer method <c>_extends</c>. If you care enough, you can replace that method via monkey patching.</p> <p>Or maybe you can store your templates somewhere else by using a simple symlink.</p> <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-616540"> [|Perl 6 - the future is here, just unevenly distributed] </div></div> 1031421 1031428