<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,24 +1,33 @@
-&lt;div id=&quot;container&quot;&gt;
-	&lt;div id=&quot;header&quot;&gt;
-		&lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
-		&lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
-		&lt;div id=&quot;menu&quot;&gt;
-			&lt;ul&gt;
-				&lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
-				&lt;li&gt;&lt;a href=&quot;&lt;%= &quot;/#{@path}&quot; %&gt;&quot;&gt;Back to &lt;%= @path %&gt;&lt;/a&gt;&lt;/li&gt;
-				&lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
-			&lt;/ul&gt;
-		&lt;/div&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;content&quot;&gt;
-		&lt;form action=&lt;%= &quot;/#{@path}/edit&quot; %&gt; method=&quot;post&quot;&gt;
-			&lt;label for=&quot;contents&quot;&gt;Page contents: &lt;/label&gt;
-			&lt;textarea name=&quot;contents&quot; rows=35 cols=75&gt;&lt;%= (@page contents) %&gt;&lt;/textarea&gt; &lt;br/&gt;
-			&lt;label for=&quot;description&quot;&gt;Describe your changes here: &lt;input type=&quot;text&quot; name=&quot;description&quot; maxlength=&quot;50&quot;/&gt;
-			&lt;input type=&quot;submit&quot; value=&quot;Commit&quot;/&gt; &lt;br/&gt; &lt;input type=&quot;reset&quot;/&gt;
-		&lt;/form&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;footer&quot;&gt;
-		&lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
-	&lt;/div&gt;
-&lt;/div&gt;
\ No newline at end of file
+&lt;html&gt;
+&lt;head&gt;
+    &lt;title&gt;Nuki!&lt;/title&gt;
+    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;
+    &lt;link href=&quot;/nuki.css&quot; media=&quot;all&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot;/&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;div id=&quot;container&quot;&gt;
+        &lt;div id=&quot;header&quot;&gt;
+            &lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
+            &lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
+            &lt;div id=&quot;menu&quot;&gt;
+                &lt;ul&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;&lt;%= &quot;/#{%path}&quot; %&gt;&quot;&gt;Back to &lt;%= %path %&gt;&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
+                &lt;/ul&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;content&quot;&gt;
+            &lt;form action=&lt;%= &quot;/#{%path}/edit&quot; %&gt; method=&quot;post&quot;&gt;
+                &lt;label for=&quot;contents&quot;&gt;Page contents: &lt;/label&gt;
+                &lt;textarea name=&quot;contents&quot; rows=35 cols=75&gt;&lt;%= (@page contents) %&gt;&lt;/textarea&gt; &lt;br/&gt;
+                &lt;label for=&quot;description&quot;&gt;Describe your changes here: &lt;input type=&quot;text&quot; name=&quot;description&quot; maxlength=&quot;50&quot;/&gt;
+                    &lt;input type=&quot;submit&quot; value=&quot;Commit&quot;/&gt; &lt;br/&gt; &lt;input type=&quot;reset&quot;/&gt;
+                &lt;/form&gt;
+            &lt;/div&gt;
+            &lt;div id=&quot;footer&quot;&gt;
+                &lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+    &lt;/body&gt;
+    &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>site/edit.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,25 +1,33 @@
-&lt;div id=&quot;container&quot;&gt;
-	&lt;div id=&quot;header&quot;&gt;
-		&lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
-		&lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
-		&lt;div id=&quot;menu&quot;&gt;
-			&lt;ul&gt;
-			    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
-                &lt;li&gt;&lt;a href=&quot;/&lt;%= @path %&gt;/edit&quot;&gt;Edit &lt;%= @path %&gt;&lt;/a&gt;&lt;/li&gt;
-				&lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
-			&lt;/ul&gt;
-		&lt;/div&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;content&quot;&gt;	
-		&lt;% (if @allRevisions %&gt;	
-		    &lt;% (@allRevisions each: (do (hash) %&gt;
-		        Rev &lt;a href=&quot;/&lt;%= @path %&gt;/history/&lt;%= hash %&gt;&quot;&gt;&lt;%= (hash abbreviatedString: 5) %&gt;&lt;/a&gt;
-		 		(&lt;a href=&quot;/&lt;%= @path %&gt;/history/&lt;%= hash %&gt;/edit&quot;&gt;Edit&lt;/a&gt;)&lt;br&gt; &lt;% )) %&gt;
-		&lt;% (else %&gt;
-			Since the page &lt;%= @path %&gt; doesn't exist yet, it has no history.
-		&lt;% )) %&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;footer&quot;&gt;
-		&lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
-	&lt;/div&gt;
-&lt;/div&gt;
\ No newline at end of file
+&lt;html&gt;
+&lt;head&gt;
+    &lt;title&gt;Nuki!&lt;/title&gt;
+    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;
+    &lt;link href=&quot;/nuki.css&quot; media=&quot;all&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot;/&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;div id=&quot;container&quot;&gt;
+        &lt;div id=&quot;header&quot;&gt;
+            &lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
+            &lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
+            &lt;div id=&quot;menu&quot;&gt;
+                &lt;ul&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&lt;%= %path %&gt;/edit&quot;&gt;Edit &lt;%= %path %&gt;&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
+                &lt;/ul&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;content&quot;&gt;	
+            &lt;% (if @allRevisions %&gt;	
+            &lt;% (@allRevisions each: (do (hash) %&gt;
+            Rev &lt;a href=&quot;/&lt;%= %path %&gt;/history/&lt;%= hash %&gt;&quot;&gt;&lt;%= (hash abbreviatedString: 5) %&gt;&lt;/a&gt;
+            (&lt;a href=&quot;/&lt;%= %path %&gt;/history/&lt;%= hash %&gt;/edit&quot;&gt;Edit&lt;/a&gt;)&lt;br&gt; &lt;% )) %&gt;
+            &lt;% (else %&gt;
+            Since the page &lt;%= %path %&gt; doesn't exist yet, it has no history.
+            &lt;% )) %&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;footer&quot;&gt;
+            &lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
+        &lt;/div&gt;
+    &lt;/div&gt;
+&lt;/body&gt;
\ No newline at end of file</diff>
      <filename>site/history.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,19 +1,28 @@
-&lt;div id=&quot;container&quot;&gt;
-	&lt;div id=&quot;header&quot;&gt;
-		&lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
-		&lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
-		&lt;div id=&quot;menu&quot;&gt;
-			&lt;ul&gt;
-				&lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
-			&lt;/ul&gt;
-		&lt;/div&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;content&quot;&gt;
-		&lt;% (@pages each: (do (page) %&gt;
-			&lt;%= (link-to-page page) %&gt; &lt;br&gt;
-		&lt;% )) %&gt;
-	&lt;/div&gt;
-	&lt;div id=&quot;footer&quot;&gt;
-		&lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
-	&lt;/div&gt;
-&lt;/div&gt;
\ No newline at end of file
+&lt;html&gt;
+&lt;head&gt;
+    &lt;title&gt;Nuki!&lt;/title&gt;
+    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;
+    &lt;link href=&quot;/nuki.css&quot; media=&quot;all&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot;/&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;div id=&quot;container&quot;&gt;
+        &lt;div id=&quot;header&quot;&gt;
+            &lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
+            &lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
+            &lt;div id=&quot;menu&quot;&gt;
+                &lt;ul&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
+                &lt;/ul&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;content&quot;&gt;
+            &lt;%= %silly %&gt;
+            &lt;% (%pages each: (do (page) %&gt;
+            &lt;%= (link-to-page page) %&gt; &lt;br&gt;
+            &lt;% )) %&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;footer&quot;&gt;
+            &lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
+        &lt;/div&gt;
+    &lt;/div&gt;
+&lt;/body&gt;
\ No newline at end of file</diff>
      <filename>site/listpages.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,31 +1,31 @@
 &lt;html&gt;
-    &lt;head&gt;
-        &lt;title&gt;Nuki!&lt;/title&gt;
-        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;
-        &lt;link href=&quot;/nuki.css&quot; media=&quot;all&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot;/&gt;
-    &lt;/head&gt;
-    &lt;body&gt;
-        &lt;div id=&quot;container&quot;&gt;
-        	&lt;div id=&quot;header&quot;&gt;
-        	    &lt;div style=&quot;float:right; margin-right:10px&quot;&gt;
-                &lt;/div&gt;
-        		&lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
-        		&lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
-        		&lt;div id=&quot;menu&quot;&gt;
-        			&lt;ul&gt;
-        			    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
-                        &lt;li&gt;&lt;a href=&quot;/&lt;%= @path %&gt;/edit&quot;&gt;Edit &lt;%= @path %&gt;&lt;/a&gt;&lt;/li&gt;
-                        &lt;li&gt;&lt;a href=&quot;/&lt;%= @path %&gt;/history&quot;&gt;History&lt;/a&gt;&lt;/li&gt;
-        				&lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
-        			&lt;/ul&gt;
-        		&lt;/div&gt;
-        	&lt;/div&gt;
-        	&lt;div id=&quot;content&quot;&gt;
-        	    &lt;%= (display-page @page) %&gt;
-        	&lt;/div&gt;
-        	&lt;div id=&quot;footer&quot;&gt;
-        		&lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
-        	&lt;/div&gt;
+&lt;head&gt;
+    &lt;title&gt;Nuki!&lt;/title&gt;
+    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;
+    &lt;link href=&quot;/nuki.css&quot; media=&quot;all&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot;/&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;div id=&quot;container&quot;&gt;
+        &lt;div id=&quot;header&quot;&gt;
+            &lt;div style=&quot;float:right; margin-right:10px&quot;&gt;
+            &lt;/div&gt;
+            &lt;h1&gt;&lt;a href=&quot;/&quot;&gt;Nuki&lt;/a&gt;&lt;/h1&gt;
+            &lt;h2&gt;A pure-Nu wiki.&lt;/h2&gt;
+            &lt;div id=&quot;menu&quot;&gt;
+                &lt;ul&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&quot;&gt;FrontPage&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&lt;%= %path %&gt;/edit&quot;&gt;Edit &lt;%= %path %&gt;&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/&lt;%= %path %&gt;/history&quot;&gt;History&lt;/a&gt;&lt;/li&gt;
+                    &lt;li&gt;&lt;a href=&quot;/pages&quot;&gt;List of pages&lt;/a&gt;&lt;/li&gt;
+                &lt;/ul&gt;
+            &lt;/div&gt;
         &lt;/div&gt;
-    &lt;/body&gt;
+        &lt;div id=&quot;content&quot;&gt;
+            &lt;%= (display-page %page) %&gt;
+        &lt;/div&gt;
+        &lt;div id=&quot;footer&quot;&gt;
+            &lt;p&gt;&amp;copy; 2007 &lt;a href=&quot;http://importantshock.wordpress.com&quot;&gt;Patrick Thomson&lt;/a&gt;. A &lt;a href=&quot;http://programming.nu&quot;&gt;Nu&amp;#8482;&lt;/a&gt; thing.&lt;/p&gt;
+        &lt;/div&gt;
+    &lt;/div&gt;
+&lt;/body&gt;
 &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>site/page.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -2,53 +2,53 @@
 ;; @discussion Handlers for HTTP requests.
 
 (get &quot;/&quot;
-     (self redirectResponse: request toLocation: &quot;/FrontPage&quot;))
+    ; Bug occurs if the first parameter to this method is not defined?
+    (Nunja redirectResponse:REQUEST toLocation:&quot;/FrontPage&quot;))
      
-(get &quot;/pages&quot;
-     
-     (set @pages ($session allBlobs))
+(get /\/pages/
+    (set %silly (MATCH groupAtIndex: 0))
+     (set %pages ($session allBlobs))
      (eval (template-named &quot;listpages&quot;)))
 
 (get /\/(\w*)/
-     
-     (set @path (TITLE lastPathComponent))
-     (set @page ($session fetchBlob: @path))
+     (set %path ((MATCH string) lastPathComponent))
+     (set %page ($session fetchBlob: %path))
      (eval (template-named &quot;page&quot;)))
 
 (get /\/(\w*)\/edit/
      
-     (set @path (TITLE pathComponent: 1))
-     (set @page ($session fetchBlob: @path))
+     (set %path (TITLE pathComponent: 1))
+     (set %page ($session fetchBlob: %path))
      (eval (template-named &quot;edit&quot;)))
 
 (post /\/(\w*)\/edit/
       
-      (set @path (TITLE pathComponent: 1))
-      (set @page ($session createBlob:@path withContents:((request post) &quot;contents&quot;)))
-      (set @message ((request post) &quot;description&quot;))
-      (unless @message (set @message &quot;Automatically-generated commit from Nuki.&quot;))
-      ($session commitWithMessage: @message)
-      (self redirectResponse: request toLocation: &quot;/#{@path}&quot;))
+      (set %path (TITLE pathComponent: 1))
+      (set %page ($session createBlob:%path withContents:((request post) &quot;contents&quot;)))
+      (set %message ((request post) &quot;description&quot;))
+      (unless %message (set %message &quot;Automatically-generated commit from Nuki.&quot;))
+      ($session commitWithMessage: %message)
+      (Nunja redirectResponse: request toLocation: &quot;/#{%path}&quot;))
 
 (get /\/(\w*)\/history/
      
-     (set @path (TITLE pathComponent: 1))
-     (set @page ($session fetchBlob: @path))
-     (set @allRevisions (@page revisionHashes))
+     (set %path (TITLE pathComponent: 1))
+     (set %page ($session fetchBlob: %path))
+     (set %allRevisions (%page revisionHashes))
      (eval (template-named &quot;history&quot;)))
 
 (get /\/(\w*)\/history\/(\w*)/
      
-     (set @path (TITLE pathComponent: 1))
-     (set @revision (TITLE pathComponent: 3))
-     (set @page ($session fetchBlob: @path))
-     (@page setContents: (@page contentsForRevisionHash: @revision))
+     (set %path (TITLE pathComponent: 1))
+     (set %revision (TITLE pathComponent: 3))
+     (set %page ($session fetchBlob: %path))
+     (%page setContents: (%page contentsForRevisionHash: %revision))
      (eval (template-named &quot;page&quot;)))
 
 (get /\/(\w*)\/history\/(\w*)\/edit/
      
-     (set @path (TITLE pathComponent: 1))
-     (set @revision (TITLE pathComponent: 3))
-     (set @page ($session fetchBlob: @path))
-     (@page setContents: (@page contentsForRevisionHash: @revision))
+     (set %path (TITLE pathComponent: 1))
+     (set %revision (TITLE pathComponent: 3))
+     (set %page ($session fetchBlob: %path))
+     (%page setContents: (%page contentsForRevisionHash: %revision))
      (eval (template-named &quot;edit&quot;)))
\ No newline at end of file</diff>
      <filename>site/site.nu</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eaa85613f80bdc7d556b62f88561e33809921b25</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Thomson</name>
    <email>ironswallow@gmail.com</email>
  </author>
  <url>http://github.com/patrickt/nuki/commit/844657146455ae4f495f40e495165cb15826e75c</url>
  <id>844657146455ae4f495f40e495165cb15826e75c</id>
  <committed-date>2008-08-22T18:32:09-07:00</committed-date>
  <authored-date>2008-08-22T18:32:09-07:00</authored-date>
  <message>Converted what were instance variables to variables using % as a prefix. May replace this or hack Nunja somehow.</message>
  <tree>bca23ac5bc00a3e910a7cb6e55212db53d655140</tree>
  <committer>
    <name>Patrick Thomson</name>
    <email>ironswallow@gmail.com</email>
  </committer>
</commit>
