Mercurial > pub > Impl
annotate _test/Resources/TTView/Layout/default.tt @ 204:d63f9a92d6d4
+IMPL::Config::Include - simple way to include external config
*IMPL::Web::Handler::TTView - finished template selecting mechanism (not tested)
author | sergey |
---|---|
date | Wed, 02 May 2012 17:42:47 +0400 |
parents | 7a920771fd8e |
children | d357b5d85d25 |
rev | line source |
---|---|
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
1 [% view.mode = 'default' %] |
191 | 2 <html> |
194 | 3 <head> |
4 <title>$site.name - [% document.title || template.title %]</title> | |
5 [% IF dojo.require.size; | |
6 modules = []; | |
7 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique(); | |
8 %] | |
9 <script type="text/javascript"> | |
10 require([ [% modules.join(', ') %] ]); | |
11 </script> | |
12 [% END %] | |
13 </head> | |
14 <body> | |
15 [% content %] | |
16 </body> | |
191 | 17 </html> |