diff 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
line wrap: on
line diff
--- a/shared_view/layout/default.tt	Thu May 08 15:57:11 2014 +0400
+++ b/shared_view/layout/default.tt	Mon May 12 18:05:30 2014 +0400
@@ -9,8 +9,8 @@
 <html>
 	<head>
 		<title>[% site.name ? "$site.name - $document.title" : document.title %]</title>
-		[%- FOREACH item IN document.css +%]
-		<link rel="stylesheet" href="$index" type="text/css">
+		[% FOREACH item IN document.css %]
+		<link rel="stylesheet" href="$item" type="text/css">
 		[% END %]
 		[% FOREACH item IN document.scripts +%]
 		<script type="[% item.type || 'text/javascript' %]"[% ' href="' _ item.href _ '"' IF item.href %]>