comparison shared_view/layout/default.tt @ 6:2d1a0a75fc49

added css, templates
author sergey
date Mon, 12 May 2014 18:05:30 +0400
parents 699dd88f0ef2
children fa7a99c2d079
comparison
equal deleted inserted replaced
5:0b703449f192 6:2d1a0a75fc49
7 [% BLOCK PAGE_LAYOUT %] 7 [% BLOCK PAGE_LAYOUT %]
8 <!DOCTYPE html> 8 <!DOCTYPE html>
9 <html> 9 <html>
10 <head> 10 <head>
11 <title>[% site.name ? "$site.name - $document.title" : document.title %]</title> 11 <title>[% site.name ? "$site.name - $document.title" : document.title %]</title>
12 [%- FOREACH item IN document.css +%] 12 [% FOREACH item IN document.css %]
13 <link rel="stylesheet" href="$index" type="text/css"> 13 <link rel="stylesheet" href="$item" type="text/css">
14 [% END %] 14 [% END %]
15 [% FOREACH item IN document.scripts +%] 15 [% FOREACH item IN document.scripts +%]
16 <script type="[% item.type || 'text/javascript' %]"[% ' href="' _ item.href _ '"' IF item.href %]> 16 <script type="[% item.type || 'text/javascript' %]"[% ' href="' _ item.href _ '"' IF item.href %]>
17 [% item.text %] 17 [% item.text %]
18 </script> 18 </script>