<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,6 @@ function(doc, req) {
   // we only show html
   return template(templates.edit, {
     doc : doc,
-    // couch trunk newer than r738295 required for toJSON()
     docid : toJSON((doc &amp;&amp; doc._id) || null), 
     blog : blog,
     assets : assetPath(),</diff>
      <filename>shows/edit.js</filename>
    </modified>
    <modified>
      <diff>@@ -13,6 +13,6 @@ function(doc, req) {
     author : doc.author,
     assets : assetPath(),
     editPostPath : showPath('edit', doc._id),
-    index : listPath('index','recent-posts',{descending:true, limit:8})
+    index : listPath('index','recent-posts',{descending:true, limit:5})
   });
 }
\ No newline at end of file</diff>
      <filename>shows/post.js</filename>
    </modified>
    <modified>
      <diff>@@ -58,7 +58,7 @@
           onLoad : function(doc) {
             if (doc._id) {
               B.editing(doc._id);
-              $('h1').html('Editing &lt;a href=&quot;'+app.showPath('post',doc._id)+'&quot;&gt;'+doc._id+'&lt;/a&gt;');
+              $('h1').html('Editing &lt;a href=&quot;../post/'+doc._id+'&quot;&gt;'+doc._id+'&lt;/a&gt;');
               $('#preview').before('&lt;input type=&quot;button&quot; id=&quot;delete&quot; value=&quot;Delete Post&quot;/&gt; ');
               $(&quot;#delete&quot;).click(function() {
                 postForm.deleteDoc({</diff>
      <filename>templates/edit.html</filename>
    </modified>
    <modified>
      <diff>@@ -2,13 +2,13 @@
 &lt;html&gt;
   &lt;head&gt;
     &lt;title&gt;&lt;%= title %&gt;&lt;/title&gt;
-    &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;%= assets %&gt;/screen.css&quot; type=&quot;text/css&quot;/&gt;
+    &lt;link rel=&quot;stylesheet&quot; href=&quot;../../screen.css&quot; type=&quot;text/css&quot;/&gt;
     &lt;link rel=&quot;alternate&quot; type=&quot;application/atom+xml&quot; 
       title=&quot;Atom Feed&quot; href=&quot;&lt;%= feedPath %&gt;&quot;/&gt;
   &lt;/head&gt;
   &lt;body&gt;
     &lt;div id=&quot;header&quot;&gt;
-      &lt;a id=&quot;edit&quot; href=&quot;&lt;%= newPostPath %&gt;&quot;&gt;%&lt;/a&gt;
+      &lt;a id=&quot;edit&quot; href=&quot;../../_show/edit&quot;&gt;%&lt;/a&gt;
       &lt;h2&gt;&lt;a href=&quot;&lt;%= index %&gt;&quot;&gt;&lt;%= title %&gt;&lt;/a&gt;&lt;/h2&gt;
     &lt;/div&gt;
     &lt;div id=&quot;tags-front&quot;&gt;&lt;/div&gt;</diff>
      <filename>templates/index/head.html</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
 &lt;script src=&quot;/_utils/script/json2.js&quot;&gt;&lt;/script&gt;
 &lt;script src=&quot;/_utils/script/jquery.js&quot;&gt;&lt;/script&gt;
 &lt;script src=&quot;/_utils/script/jquery.couch.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;&lt;%= assets %&gt;/jquery.couchapp.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../jquery.couchapp.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
   $.CouchApp(function(app) {
       </diff>
      <filename>templates/index/tail.html</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 &lt;html&gt;
   &lt;head&gt;
     &lt;title&gt;&lt;%= title %&gt; : &lt;%= blogName %&gt;&lt;/title&gt;
-    &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;%= assets %&gt;/screen.css&quot; type=&quot;text/css&quot;&gt;
+    &lt;link rel=&quot;stylesheet&quot; href=&quot;../../screen.css&quot; type=&quot;text/css&quot;&gt;
   &lt;/head&gt;
   &lt;body&gt;
     &lt;div id=&quot;header&quot;&gt;</diff>
      <filename>templates/post.html</filename>
    </modified>
    <modified>
      <diff>@@ -40,17 +40,17 @@ function makePath(array) {
 };
 
 function assetPath() {
-  var parts = ['',req.path[0], '_design', req.path[2]];
+  var p = req.path, parts = ['', p[0], p[1] , p[2]];
   return makePath(concatArgs(parts, arguments));
 };
 
 function showPath() {
-  var parts = ['',req.path[0], '_show', req.path[2]];
+  var p = req.path, parts = ['', p[0], p[1] , p[2], '_show'];
   return makePath(concatArgs(parts, arguments));
 };
 
 function listPath() {
-  var parts = ['',req.path[0], '_list', req.path[2]];
+  var p = req.path, parts = ['', p[0], p[1] , p[2], '_list'];
   return makePath(concatArgs(parts, arguments));
 };
 </diff>
      <filename>vendor/couchapp/path.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0b91432eb79666ad50b142b02af5ac780cdc91dc</id>
    </parent>
  </parents>
  <author>
    <name>Chris Anderson</name>
    <email>jchris@grabb.it</email>
  </author>
  <url>http://github.com/jchris/sofa/commit/8a2eb5e2accedbede511ed9a2c523f4eb6cd7155</url>
  <id>8a2eb5e2accedbede511ed9a2c523f4eb6cd7155</id>
  <committed-date>2009-03-03T15:15:46-08:00</committed-date>
  <authored-date>2009-03-03T15:15:46-08:00</authored-date>
  <message>switch to relative paths - mostly</message>
  <tree>f367f9ca8501d6ddee09ac373982ef2983cc25b3</tree>
  <committer>
    <name>Chris Anderson</name>
    <email>jchris@grabb.it</email>
  </committer>
</commit>
