Commits

Anonymous committed 4e1011d

asset path

  • Participants
  • Parent commits 0007def

Comments (0)

Files changed (2)

File lib/templates/feeds/head.html

     <link rel="home index" href="http://benoitc.org/" type="text/html">
     <link rel="me author" href="http://benoitc.org/apropos.html" type="text/html">
 
-    <link rel="stylesheet" href="css/screen.css?20090126" type="text/css" media="screen, projection" />
+    <link rel="stylesheet" href="<%= assets %>/css/screen.css?20090126" type="text/css" media="screen, projection" />
 
     <script src="/_utils/script/json2.js"></script>
     <script src="/_utils/script/jquery.js"></script>

File lists/feeds.js

     return respondWith(req, {
         html: function() {
             if (head) {
-                return template(lib.templates.feeds.head, {});
+                return template(lib.templates.feeds.head, {
+                    assets: assetPath()
+                });
             } else if (row) {
                 return '';
             } else {