Mercurial > pub > site.implab
diff shared_view/layout/default.tt @ 7:fa7a99c2d079
dox library templates and schemas
author | sergey |
---|---|
date | Wed, 14 May 2014 01:22:21 +0400 |
parents | 2d1a0a75fc49 |
children | 7d92a42f8e18 |
line wrap: on
line diff
--- a/shared_view/layout/default.tt Mon May 12 18:05:30 2014 +0400 +++ b/shared_view/layout/default.tt Wed May 14 01:22:21 2014 +0400 @@ -26,6 +26,11 @@ </body> </html> [% END %] -[% WRAPPER PAGE_LAYOUT; +[% BLOCK CONTENT_LAYOUT; render(document.layout ? "default/$document.layout" : 'default/base', content = content, model = model); -END %] \ No newline at end of file +END %] +[% WRAPPER PAGE_LAYOUT; + WRAPPER CONTENT_LAYOUT; + content; + END; +END %]