<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@ and writes generated files to PUB_PATH'
   task :blogify =&gt; ['blogify:entries', 'blogify:index']
   namespace :blogify do
     %w(rubygems rake atom/collection atom/http haml).each { |l| require l }
-    PUB_PATH = File.expand_path(ENV['PUB_PATH'] || File.dirname(__FILE__))
+    PUB_PATH = File.expand_path(ENV['PUB_PATH'] || ENV['PWD'])
     TEMPLATE = File.expand_path(ENV['TEMPLATE'] || File.dirname(__FILE__) + '/template.haml')
 
     task :entries =&gt; :retrieve_entries do
@@ -20,7 +20,7 @@ and writes generated files to PUB_PATH'
 
     task :index =&gt; :entries do
       cp PUB_PATH + &quot;/#{ENTRIES.keys.sort.pop}.html&quot;, PUB_PATH + '/index.html'
-      archives = '&lt;div id=&quot;archives&quot;&gt;&lt;ul&gt;%s&lt;/ul&gt;&lt;/div&gt;' % 
+      archives = '&lt;div id=&quot;archives&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/2007/12.html&quot;&gt;2007/12&lt;/a&gt;&lt;/li&gt;%s&lt;/ul&gt;&lt;/div&gt;' %
         ENTRIES.keys.map{|m|&quot;&lt;li&gt;&lt;a href=\&quot;#{m}.html\&quot;&gt;#{m}&lt;/a&gt;&lt;/li&gt;&quot;}.join(&quot;\n&quot;)
       content = File.read(PUB_PATH + '/index.html')
       File.open(PUB_PATH + '/index.html', 'w'){|f| f &lt;&lt; content.gsub('&lt;/h1&gt;', &quot;&lt;/h1&gt;\n&quot;+archives)}  </diff>
      <filename>blogify.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5943f300aff00fea8b9bb09ba8a4c6a8560fc8ba</id>
    </parent>
  </parents>
  <author>
    <name>Simon Rozet</name>
    <email>simon@rozet.name</email>
  </author>
  <url>http://github.com/sr/tasks/commit/e98a5814c2a8cbe4a08401001b1d01717ebb31bf</url>
  <id>e98a5814c2a8cbe4a08401001b1d01717ebb31bf</id>
  <committed-date>2008-02-03T08:30:25-08:00</committed-date>
  <authored-date>2008-02-03T08:30:25-08:00</authored-date>
  <message>PUB_PATH is now /home/simon/codes/tasks.git by default</message>
  <tree>15039b17548973c6964af238eae75ca1a0dea3ed</tree>
  <committer>
    <name>Simon Rozet</name>
    <email>simon@rozet.name</email>
  </committer>
</commit>
