view _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
line wrap: on
line source

[% view.mode = 'default' %]
<html>
    <head>
        <title>$site.name - [% document.title || template.title %]</title>
        [% IF dojo.require.size;
            modules = [];
            modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
        %]
        <script type="text/javascript">
            require([ [% modules.join(', ') %] ]);
        </script>
        [% END %]
    </head>
    <body>
        [% content %]
    </body>
</html>